Enum freya_engine::prelude::RectWidthStyle
#[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§
§impl Clone for RectWidthStyle
impl Clone for RectWidthStyle
§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 more§impl Debug for RectWidthStyle
impl Debug for RectWidthStyle
§impl Default for RectWidthStyle
impl Default for RectWidthStyle
§fn default() -> RectWidthStyle
fn default() -> RectWidthStyle
Returns the “default value” for a type. Read more
§impl Hash for RectWidthStyle
impl Hash for RectWidthStyle
§impl PartialEq for RectWidthStyle
impl PartialEq for RectWidthStyle
§fn eq(&self, other: &RectWidthStyle) -> bool
fn eq(&self, other: &RectWidthStyle) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for RectWidthStyle
impl Eq for RectWidthStyle
impl StructuralPartialEq for RectWidthStyle
Auto Trait Implementations§
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