[−][src]Enum lyon_algorithms::fit::FitStyle
The strategy to use when fitting (stretching, overflow, etc.)
Variants
Stretch vertically and horizontally to fit the destination rectangle exactly.
Uniformly scale without overflow.
Uniformly scale with overflow.
Uniformly scale to fit horizontally.
Uniformly scale to fit vertically.
Trait Implementations
impl Clone for FitStyle
[src]
impl Copy for FitStyle
[src]
impl Debug for FitStyle
[src]
impl Eq for FitStyle
[src]
impl PartialEq<FitStyle> for FitStyle
[src]
impl StructuralEq for FitStyle
[src]
impl StructuralPartialEq for FitStyle
[src]
Auto Trait Implementations
impl RefUnwindSafe for FitStyle
impl Send for FitStyle
impl Sync for FitStyle
impl Unpin for FitStyle
impl UnwindSafe for FitStyle
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,