#[repr(i32)]pub enum RectWidthStyle {
Tight = 0,
Max = 1,
}
Variants§
Tight = 0
Provide tight bounding boxes that fit widths to the runs of each line independently.
Max = 1
Extends the width of the last rect of each line to match the position of the widest rect over all the lines.
Trait Implementations§
Source§impl Clone for RectWidthStyle
impl Clone for RectWidthStyle
Source§fn clone(&self) -> RectWidthStyle
fn clone(&self) -> RectWidthStyle
Returns a copy 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 RectWidthStyle
impl Debug for RectWidthStyle
Source§impl Default for RectWidthStyle
impl Default for RectWidthStyle
Source§fn default() -> RectWidthStyle
fn default() -> RectWidthStyle
Returns the “default value” for a type. Read more
Source§impl Hash for RectWidthStyle
impl Hash for RectWidthStyle
Source§impl PartialEq for RectWidthStyle
impl PartialEq for RectWidthStyle
impl Copy for RectWidthStyle
impl Eq for RectWidthStyle
impl StructuralPartialEq for RectWidthStyle
Auto Trait Implementations§
impl Freeze for RectWidthStyle
impl RefUnwindSafe for RectWidthStyle
impl Send for RectWidthStyle
impl Sync for RectWidthStyle
impl Unpin for RectWidthStyle
impl UnwindSafe for RectWidthStyle
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