#[repr(C, packed(2))]pub struct ResourceDirectoryTable {
pub characteristics: u32,
pub time_date_stamp: u32,
pub version: VersionU16,
pub number_of_name_entries: u16,
pub number_of_id_entries: u16,
}Fields§
§characteristics: u32§time_date_stamp: u32§version: VersionU16§number_of_name_entries: u16§number_of_id_entries: u16Trait Implementations§
Source§impl Clone for ResourceDirectoryTable
impl Clone for ResourceDirectoryTable
Source§fn clone(&self) -> ResourceDirectoryTable
fn clone(&self) -> ResourceDirectoryTable
Returns a duplicate 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 ResourceDirectoryTable
impl Debug for ResourceDirectoryTable
Source§impl Default for ResourceDirectoryTable
impl Default for ResourceDirectoryTable
Source§fn default() -> ResourceDirectoryTable
fn default() -> ResourceDirectoryTable
Returns the “default value” for a type. Read more
Source§impl FromBytes for ResourceDirectoryTable
impl FromBytes for ResourceDirectoryTable
Source§impl FromZeros for ResourceDirectoryTable
impl FromZeros for ResourceDirectoryTable
Source§impl IntoBytes for ResourceDirectoryTable
impl IntoBytes for ResourceDirectoryTable
Source§fn as_mut_bytes(&mut self) -> &mut [u8] ⓘwhere
Self: FromBytes,
fn as_mut_bytes(&mut self) -> &mut [u8] ⓘwhere
Self: FromBytes,
Gets the bytes of this value mutably. Read more
Source§fn write_to(&self, dst: &mut [u8]) -> Result<(), SizeError<&Self, &mut [u8]>>where
Self: Immutable,
fn write_to(&self, dst: &mut [u8]) -> Result<(), SizeError<&Self, &mut [u8]>>where
Self: Immutable,
Source§impl Ord for ResourceDirectoryTable
impl Ord for ResourceDirectoryTable
Source§fn cmp(&self, other: &ResourceDirectoryTable) -> Ordering
fn cmp(&self, other: &ResourceDirectoryTable) -> 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 ResourceDirectoryTable
impl PartialEq for ResourceDirectoryTable
Source§impl PartialOrd for ResourceDirectoryTable
impl PartialOrd for ResourceDirectoryTable
Source§impl TryFromBytes for ResourceDirectoryTable
impl TryFromBytes for ResourceDirectoryTable
Source§fn try_read_from_bytes(
source: &[u8],
) -> Result<Self, ConvertError<Infallible, SizeError<&[u8], Self>, ValidityError<&[u8], Self>>>where
Self: Sized,
fn try_read_from_bytes(
source: &[u8],
) -> Result<Self, ConvertError<Infallible, SizeError<&[u8], Self>, ValidityError<&[u8], Self>>>where
Self: Sized,
Source§fn try_read_from_prefix(
source: &[u8],
) -> Result<(Self, &[u8]), ConvertError<Infallible, SizeError<&[u8], Self>, ValidityError<&[u8], Self>>>where
Self: Sized,
fn try_read_from_prefix(
source: &[u8],
) -> Result<(Self, &[u8]), ConvertError<Infallible, SizeError<&[u8], Self>, ValidityError<&[u8], Self>>>where
Self: Sized,
Source§fn try_read_from_suffix(
source: &[u8],
) -> Result<(&[u8], Self), ConvertError<Infallible, SizeError<&[u8], Self>, ValidityError<&[u8], Self>>>where
Self: Sized,
fn try_read_from_suffix(
source: &[u8],
) -> Result<(&[u8], Self), ConvertError<Infallible, SizeError<&[u8], Self>, ValidityError<&[u8], Self>>>where
Self: Sized,
impl Copy for ResourceDirectoryTable
impl Eq for ResourceDirectoryTable
impl Immutable for ResourceDirectoryTable
impl StructuralPartialEq for ResourceDirectoryTable
Auto Trait Implementations§
impl Freeze for ResourceDirectoryTable
impl RefUnwindSafe for ResourceDirectoryTable
impl Send for ResourceDirectoryTable
impl Sync for ResourceDirectoryTable
impl Unpin for ResourceDirectoryTable
impl UnwindSafe for ResourceDirectoryTable
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§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.