pub struct ComponentSize {
pub precision: u8,
pub is_signed: bool,
pub dx: u8,
pub dy: u8,
}Expand description
Component size parameters
Fields§
§precision: u8Precision in bits (1-38)
is_signed: boolIs signed
dx: u8Horizontal subsampling
dy: u8Vertical subsampling
Trait Implementations§
Source§impl Clone for ComponentSize
impl Clone for ComponentSize
Source§fn clone(&self) -> ComponentSize
fn clone(&self) -> ComponentSize
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 moreAuto Trait Implementations§
impl Freeze for ComponentSize
impl RefUnwindSafe for ComponentSize
impl Send for ComponentSize
impl Sync for ComponentSize
impl Unpin for ComponentSize
impl UnsafeUnpin for ComponentSize
impl UnwindSafe for ComponentSize
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