Struct FileGetAttrResponse
#[repr(C)]pub struct FileGetAttrResponse {
pub s: i32,
pub attributes: NodeAttributes,
}
Fields§
§s: i32
§attributes: NodeAttributes
Trait Implementations§
§impl Clone for FileGetAttrResponse
impl Clone for FileGetAttrResponse
§fn clone(&self) -> FileGetAttrResponse
fn clone(&self) -> FileGetAttrResponse
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 more§impl Debug for FileGetAttrResponse
impl Debug for FileGetAttrResponse
§impl<D> Decode<FileGetAttrResponse, D> for FileGetAttrResponsewhere
D: ResourceDialect,
impl<D> Decode<FileGetAttrResponse, D> for FileGetAttrResponsewhere
D: ResourceDialect,
§fn new_empty() -> FileGetAttrResponse
fn new_empty() -> FileGetAttrResponse
Creates a valid instance of
Self
. The specific value does not matter,
since it will be overwritten by decode
.§impl<D> Encode<FileGetAttrResponse, D> for &FileGetAttrResponsewhere
D: ResourceDialect,
impl<D> Encode<FileGetAttrResponse, D> for &FileGetAttrResponsewhere
D: ResourceDialect,
§impl Hash for FileGetAttrResponse
impl Hash for FileGetAttrResponse
§impl Ord for FileGetAttrResponse
impl Ord for FileGetAttrResponse
§fn cmp(&self, other: &FileGetAttrResponse) -> Ordering
fn cmp(&self, other: &FileGetAttrResponse) -> 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
§impl PartialEq for FileGetAttrResponse
impl PartialEq for FileGetAttrResponse
§impl PartialOrd for FileGetAttrResponse
impl PartialOrd for FileGetAttrResponse
§impl TypeMarker for FileGetAttrResponse
impl TypeMarker for FileGetAttrResponse
§type Owned = FileGetAttrResponse
type Owned = FileGetAttrResponse
The owned Rust type which this FIDL type decodes into.
§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.
§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.§impl ValueTypeMarker for FileGetAttrResponse
impl ValueTypeMarker for FileGetAttrResponse
§type Borrowed<'a> = &'a FileGetAttrResponse
type Borrowed<'a> = &'a FileGetAttrResponse
The Rust type to use for encoding. This is a particular
Encode<Self>
type cheaply obtainable from &Self::Owned
. There are three cases: Read more§fn borrow(
value: &<FileGetAttrResponse as TypeMarker>::Owned,
) -> <FileGetAttrResponse as ValueTypeMarker>::Borrowed<'_>
fn borrow( value: &<FileGetAttrResponse as TypeMarker>::Owned, ) -> <FileGetAttrResponse as ValueTypeMarker>::Borrowed<'_>
Cheaply converts from
&Self::Owned
to Self::Borrowed
.impl Copy for FileGetAttrResponse
impl Eq for FileGetAttrResponse
impl Persistable for FileGetAttrResponse
impl StructuralPartialEq for FileGetAttrResponse
Auto Trait Implementations§
impl Freeze for FileGetAttrResponse
impl RefUnwindSafe for FileGetAttrResponse
impl Send for FileGetAttrResponse
impl Sync for FileGetAttrResponse
impl Unpin for FileGetAttrResponse
impl UnwindSafe for FileGetAttrResponse
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