Struct fuchsia_zircon::sys::zx_info_resource_t
source · #[repr(C)]pub struct zx_info_resource_t {
pub kind: u32,
pub flags: u32,
pub base: u64,
pub size: usize,
pub name: [u8; 32],
}
Fields§
§kind: u32
§flags: u32
§base: u64
§size: usize
§name: [u8; 32]
Trait Implementations§
source§impl Clone for zx_info_resource_t
impl Clone for zx_info_resource_t
source§fn clone(&self) -> zx_info_resource_t
fn clone(&self) -> zx_info_resource_t
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 zx_info_resource_t
impl Debug for zx_info_resource_t
source§impl Default for zx_info_resource_t
impl Default for zx_info_resource_t
source§fn default() -> zx_info_resource_t
fn default() -> zx_info_resource_t
Returns the “default value” for a type. Read more
source§impl From<zx_info_resource_t> for ResourceInfo
impl From<zx_info_resource_t> for ResourceInfo
source§fn from(info: zx_info_resource_t) -> ResourceInfo
fn from(info: zx_info_resource_t) -> ResourceInfo
Converts to this type from the input type.
source§impl FromBytes for zx_info_resource_t
impl FromBytes for zx_info_resource_t
§fn slice_from_prefix(bytes: &[u8], count: usize) -> Option<(&[Self], &[u8])>where
Self: Sized + NoCell,
fn slice_from_prefix(bytes: &[u8], count: usize) -> Option<(&[Self], &[u8])>where
Self: Sized + NoCell,
Interprets the prefix of the given
bytes
as a &[Self]
with length
equal to count
without copying. Read more§fn slice_from_suffix(bytes: &[u8], count: usize) -> Option<(&[u8], &[Self])>where
Self: Sized + NoCell,
fn slice_from_suffix(bytes: &[u8], count: usize) -> Option<(&[u8], &[Self])>where
Self: Sized + NoCell,
Interprets the suffix of the given
bytes
as a &[Self]
with length
equal to count
without copying. Read more§fn read_from_prefix(bytes: &[u8]) -> Option<Self>where
Self: Sized,
fn read_from_prefix(bytes: &[u8]) -> Option<Self>where
Self: Sized,
source§impl FromZeros for zx_info_resource_t
impl FromZeros for zx_info_resource_t
source§impl PartialEq for zx_info_resource_t
impl PartialEq for zx_info_resource_t
source§fn eq(&self, other: &zx_info_resource_t) -> bool
fn eq(&self, other: &zx_info_resource_t) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for zx_info_resource_t
impl Eq for zx_info_resource_t
impl StructuralPartialEq for zx_info_resource_t
Auto Trait Implementations§
impl Freeze for zx_info_resource_t
impl RefUnwindSafe for zx_info_resource_t
impl Send for zx_info_resource_t
impl Sync for zx_info_resource_t
impl Unpin for zx_info_resource_t
impl UnwindSafe for zx_info_resource_t
Blanket Implementations§
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§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
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
)