Enum egui_extras::Size
source · pub enum Size {
Absolute {
initial: f32,
range: Rangef,
},
Relative {
fraction: f32,
range: Rangef,
},
Remainder {
range: Rangef,
},
}
Expand description
Size hint for table column/strip cell.
Variants§
Absolute
Absolute size in points, with a given range of allowed sizes to resize within.
Relative
Relative size relative to all available space.
Remainder
Multiple remainders each get the same space.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Size
impl RefUnwindSafe for Size
impl Send for Size
impl Sync for Size
impl Unpin for Size
impl UnwindSafe for Size
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