#[repr(C, packed(1))]pub struct ScaleRelative {
pub scale: u16,
/* private fields */
}
Fields§
§scale: u16
Trait Implementations§
Source§impl Clone for ScaleRelative
impl Clone for ScaleRelative
Source§fn clone(&self) -> ScaleRelative
fn clone(&self) -> ScaleRelative
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 ScaleRelative
impl Debug for ScaleRelative
impl Copy for ScaleRelative
Auto Trait Implementations§
impl Freeze for ScaleRelative
impl RefUnwindSafe for ScaleRelative
impl Send for ScaleRelative
impl Sync for ScaleRelative
impl Unpin for ScaleRelative
impl UnwindSafe for ScaleRelative
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