#[repr(C)]pub struct FanGetFanLevelResponse {
pub status: i32,
pub fan_level: u32,
}Fields§
§status: i32§fan_level: u32Trait Implementations§
Source§impl Clone for FanGetFanLevelResponse
impl Clone for FanGetFanLevelResponse
Source§fn clone(&self) -> FanGetFanLevelResponse
fn clone(&self) -> FanGetFanLevelResponse
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for FanGetFanLevelResponse
Source§impl Debug for FanGetFanLevelResponse
impl Debug for FanGetFanLevelResponse
Source§impl<D: ResourceDialect> Decode<FanGetFanLevelResponse, D> for FanGetFanLevelResponse
impl<D: ResourceDialect> Decode<FanGetFanLevelResponse, D> for FanGetFanLevelResponse
Source§impl<D: ResourceDialect> Encode<FanGetFanLevelResponse, D> for &FanGetFanLevelResponse
impl<D: ResourceDialect> Encode<FanGetFanLevelResponse, D> for &FanGetFanLevelResponse
Source§impl<D: ResourceDialect, T0: Encode<i32, D>, T1: Encode<u32, D>> Encode<FanGetFanLevelResponse, D> for (T0, T1)
impl<D: ResourceDialect, T0: Encode<i32, D>, T1: Encode<u32, D>> Encode<FanGetFanLevelResponse, D> for (T0, T1)
impl Eq for FanGetFanLevelResponse
Source§impl Hash for FanGetFanLevelResponse
impl Hash for FanGetFanLevelResponse
Source§impl Ord for FanGetFanLevelResponse
impl Ord for FanGetFanLevelResponse
Source§fn cmp(&self, other: &FanGetFanLevelResponse) -> Ordering
fn cmp(&self, other: &FanGetFanLevelResponse) -> Ordering
1.21.0 (const: unstable) · 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 FanGetFanLevelResponse
impl PartialEq for FanGetFanLevelResponse
Source§fn eq(&self, other: &FanGetFanLevelResponse) -> bool
fn eq(&self, other: &FanGetFanLevelResponse) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for FanGetFanLevelResponse
impl PartialOrd for FanGetFanLevelResponse
impl Persistable for FanGetFanLevelResponse
impl StructuralPartialEq for FanGetFanLevelResponse
Source§impl TypeMarker for FanGetFanLevelResponse
impl TypeMarker for FanGetFanLevelResponse
Source§type Owned = FanGetFanLevelResponse
type Owned = FanGetFanLevelResponse
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 FanGetFanLevelResponse
impl ValueTypeMarker for FanGetFanLevelResponse
Source§type Borrowed<'a> = &'a FanGetFanLevelResponse
type Borrowed<'a> = &'a FanGetFanLevelResponse
The Rust type to use for encoding. This is a particular
Encode<Self>
type cheaply obtainable from &Self::Owned. There are three cases: Read moreAuto Trait Implementations§
impl Freeze for FanGetFanLevelResponse
impl RefUnwindSafe for FanGetFanLevelResponse
impl Send for FanGetFanLevelResponse
impl Sync for FanGetFanLevelResponse
impl Unpin for FanGetFanLevelResponse
impl UnsafeUnpin for FanGetFanLevelResponse
impl UnwindSafe for FanGetFanLevelResponse
Blanket Implementations§
Source§impl<T> Body for Twhere
T: Persistable,
impl<T> Body for Twhere
T: Persistable,
Source§type MarkerAtTopLevel = T
type MarkerAtTopLevel = T
The marker type to use when the body is at the top-level.
Source§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