#[repr(C)]pub struct FakeClockGetResponse {
pub time: i64,
}
Fields§
§time: i64
Trait Implementations§
Source§impl Clone for FakeClockGetResponse
impl Clone for FakeClockGetResponse
Source§fn clone(&self) -> FakeClockGetResponse
fn clone(&self) -> FakeClockGetResponse
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for FakeClockGetResponse
impl Debug for FakeClockGetResponse
Source§impl<D: ResourceDialect> Decode<FakeClockGetResponse, D> for FakeClockGetResponse
impl<D: ResourceDialect> Decode<FakeClockGetResponse, D> for FakeClockGetResponse
Source§impl<D: ResourceDialect> Encode<FakeClockGetResponse, D> for &FakeClockGetResponse
impl<D: ResourceDialect> Encode<FakeClockGetResponse, D> for &FakeClockGetResponse
Source§impl<D: ResourceDialect, T0: Encode<i64, D>> Encode<FakeClockGetResponse, D> for (T0,)
impl<D: ResourceDialect, T0: Encode<i64, D>> Encode<FakeClockGetResponse, D> for (T0,)
Source§impl Hash for FakeClockGetResponse
impl Hash for FakeClockGetResponse
Source§impl Ord for FakeClockGetResponse
impl Ord for FakeClockGetResponse
Source§fn cmp(&self, other: &FakeClockGetResponse) -> Ordering
fn cmp(&self, other: &FakeClockGetResponse) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for FakeClockGetResponse
impl PartialEq for FakeClockGetResponse
Source§impl PartialOrd for FakeClockGetResponse
impl PartialOrd for FakeClockGetResponse
Source§impl TypeMarker for FakeClockGetResponse
impl TypeMarker for FakeClockGetResponse
Source§type Owned = FakeClockGetResponse
type Owned = FakeClockGetResponse
The owned Rust type which this FIDL type decodes into.
Source§fn inline_align(_context: Context) -> usize
fn inline_align(_context: Context) -> usize
Returns the minimum required alignment of the inline portion of the
encoded object. It must be a (nonzero) power of two.
Source§fn inline_size(_context: Context) -> usize
fn inline_size(_context: Context) -> usize
Returns the size of the inline portion of the encoded object, including
padding for alignment. Must be a multiple of
inline_align
.Source§fn encode_is_copy() -> bool
fn encode_is_copy() -> bool
Returns true if the memory layout of
Self::Owned
matches the FIDL wire
format and encoding requires no validation. When true, we can optimize
encoding arrays and vectors of Self::Owned
to a single memcpy. Read moreSource§fn decode_is_copy() -> bool
fn decode_is_copy() -> bool
Returns true if the memory layout of
Self::Owned
matches the FIDL wire
format and decoding requires no validation. When true, we can optimize
decoding arrays and vectors of Self::Owned
to a single memcpy.Source§impl ValueTypeMarker for FakeClockGetResponse
impl ValueTypeMarker for FakeClockGetResponse
Source§type Borrowed<'a> = &'a FakeClockGetResponse
type Borrowed<'a> = &'a FakeClockGetResponse
The Rust type to use for encoding. This is a particular
Encode<Self>
type cheaply obtainable from &Self::Owned
. There are three cases: Read moreimpl Copy for FakeClockGetResponse
impl Eq for FakeClockGetResponse
impl Persistable for FakeClockGetResponse
impl StructuralPartialEq for FakeClockGetResponse
Auto Trait Implementations§
impl Freeze for FakeClockGetResponse
impl RefUnwindSafe for FakeClockGetResponse
impl Send for FakeClockGetResponse
impl Sync for FakeClockGetResponse
impl Unpin for FakeClockGetResponse
impl UnwindSafe for FakeClockGetResponse
Blanket Implementations§
§impl<T> Body for Twhere
T: Persistable,
impl<T> Body for Twhere
T: Persistable,
§type MarkerAtTopLevel = T
type MarkerAtTopLevel = T
The marker type to use when the body is at the top-level.
§type MarkerInResultUnion = T
type MarkerInResultUnion = T
The marker type to use when the body is nested in a result union.
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)