Struct bluez_async_ots::Sizes
source · #[repr(C)]pub struct Sizes {
pub current: usize,
pub allocated: usize,
}Expand description
Object sizes (current and allocated)
Fields§
§current: usizeCurrent size of object
allocated: usizeAllocated size of object
Trait Implementations§
source§impl Ord for Sizes
impl Ord for Sizes
source§impl PartialEq for Sizes
impl PartialEq for Sizes
source§impl PartialOrd for Sizes
impl PartialOrd for Sizes
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self and other) and is used by the <=
operator. Read moreimpl Copy for Sizes
impl Eq for Sizes
impl Pod for Sizes
impl StructuralEq for Sizes
impl StructuralPartialEq for Sizes
Auto Trait Implementations§
impl RefUnwindSafe for Sizes
impl Send for Sizes
impl Sync for Sizes
impl Unpin for Sizes
impl UnwindSafe for Sizes
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> CheckedBitPattern for Twhere
T: AnyBitPattern,
impl<T> CheckedBitPattern for Twhere
T: AnyBitPattern,
§type Bits = T
type Bits = T
Self must have the same layout as the specified Bits except for
the possible invalid bit patterns being checked during
is_valid_bit_pattern.source§fn is_valid_bit_pattern(_bits: &T) -> bool
fn is_valid_bit_pattern(_bits: &T) -> bool
If this function returns true, then it must be valid to reinterpret
bits
as &Self.