#[repr(transparent)]pub struct SizeBytes(pub f32);
Expand description
Represents a size in bytes.
Tuple Fields§
§0: f32
Trait Implementations§
Source§impl<'de> Deserialize<'de> for SizeBytes
impl<'de> Deserialize<'de> for SizeBytes
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl<'a> ExtractData<SizeBytes> for Chunk<'a>
impl<'a> ExtractData<SizeBytes> for Chunk<'a>
fn extract_data(&self) -> SizeBytes
Source§impl PartialOrd for SizeBytes
impl PartialOrd for SizeBytes
impl Copy for SizeBytes
impl StructuralPartialEq for SizeBytes
Auto Trait Implementations§
impl Freeze for SizeBytes
impl RefUnwindSafe for SizeBytes
impl Send for SizeBytes
impl Sync for SizeBytes
impl Unpin for SizeBytes
impl UnwindSafe for SizeBytes
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