pub(crate) struct ScaledWidth {
pub scaled: i32,
pub fitted: i32,
}
Fields§
§scaled: i32
Width after applying scale.
fitted: i32
Grid-fitted width.
Trait Implementations§
Source§impl Clone for ScaledWidth
impl Clone for ScaledWidth
Source§fn clone(&self) -> ScaledWidth
fn clone(&self) -> ScaledWidth
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 ScaledWidth
impl Debug for ScaledWidth
Source§impl Default for ScaledWidth
impl Default for ScaledWidth
Source§fn default() -> ScaledWidth
fn default() -> ScaledWidth
Returns the “default value” for a type. Read more
Source§impl PartialEq for ScaledWidth
impl PartialEq for ScaledWidth
impl Copy for ScaledWidth
impl Eq for ScaledWidth
impl StructuralPartialEq for ScaledWidth
Auto Trait Implementations§
impl Freeze for ScaledWidth
impl RefUnwindSafe for ScaledWidth
impl Send for ScaledWidth
impl Sync for ScaledWidth
impl Unpin for ScaledWidth
impl UnwindSafe for ScaledWidth
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