Struct starnix_uapi::uapi::x86_64::dm_name_list
source · #[repr(C)]pub struct dm_name_list {
pub dev: u64,
pub next: u32,
pub name: __IncompleteArrayField<i8>,
pub __bindgen_padding_0: [u8; 4],
}
Fields§
§dev: u64
§next: u32
§name: __IncompleteArrayField<i8>
§__bindgen_padding_0: [u8; 4]
Trait Implementations§
source§impl Debug for dm_name_list
impl Debug for dm_name_list
source§impl Default for dm_name_list
impl Default for dm_name_list
source§fn default() -> dm_name_list
fn default() -> dm_name_list
Returns the “default value” for a type. Read more
source§impl FromBytes for dm_name_list
impl FromBytes for dm_name_list
§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 mut_slice_from_prefix(
bytes: &mut [u8],
count: usize
) -> Option<(&mut [Self], &mut [u8])>where
Self: Sized + IntoBytes + NoCell,
fn mut_slice_from_prefix(
bytes: &mut [u8],
count: usize
) -> Option<(&mut [Self], &mut [u8])>where
Self: Sized + IntoBytes + NoCell,
Interprets the prefix of the given
bytes
as a &mut [Self]
with length
equal to count
without copying. Read more§fn mut_slice_from_suffix(
bytes: &mut [u8],
count: usize
) -> Option<(&mut [u8], &mut [Self])>where
Self: Sized + IntoBytes + NoCell,
fn mut_slice_from_suffix(
bytes: &mut [u8],
count: usize
) -> Option<(&mut [u8], &mut [Self])>where
Self: Sized + IntoBytes + NoCell,
Interprets the suffix of the given
bytes
as a &mut [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 dm_name_list
impl FromZeros for dm_name_list
source§impl IntoBytes for dm_name_listwhere
u64: IntoBytes,
u32: IntoBytes,
__IncompleteArrayField<i8>: IntoBytes,
[u8; 4]: IntoBytes,
HasPadding<dm_name_list, linux_uapi::::x86_64::{impl#1730}::{constant#1}>: ShouldBe<false>,
impl IntoBytes for dm_name_listwhere
u64: IntoBytes,
u32: IntoBytes,
__IncompleteArrayField<i8>: IntoBytes,
[u8; 4]: IntoBytes,
HasPadding<dm_name_list, linux_uapi::::x86_64::{impl#1730}::{constant#1}>: ShouldBe<false>,
Auto Trait Implementations§
impl Freeze for dm_name_list
impl RefUnwindSafe for dm_name_list
impl Send for dm_name_list
impl Sync for dm_name_list
impl Unpin for dm_name_list
impl UnwindSafe for dm_name_list
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