Type Alias freya_engine::prelude::svg::preserve_aspect_ratio::Align

pub type Align = SkSVGPreserveAspectRatio_Align;

Aliased Type§

enum Align {
    XMinYMin = 0,
    XMidYMin = 1,
    XMaxYMin = 2,
    XMinYMid = 4,
    XMidYMid = 5,
    XMaxYMid = 6,
    XMinYMax = 8,
    XMidYMax = 9,
    XMaxYMax = 10,
    None = 16,
}

Variants§

§

XMinYMin = 0

§

XMidYMin = 1

§

XMaxYMin = 2

§

XMinYMid = 4

§

XMidYMid = 5

§

XMaxYMid = 6

§

XMinYMax = 8

§

XMidYMax = 9

§

XMaxYMax = 10

§

None = 16

Trait Implementations

§

impl Clone for SkSVGPreserveAspectRatio_Align

§

fn clone(&self) -> SkSVGPreserveAspectRatio_Align

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
§

impl Debug for SkSVGPreserveAspectRatio_Align

§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
§

impl Hash for SkSVGPreserveAspectRatio_Align

§

fn hash<__H>(&self, state: &mut __H)
where __H: Hasher,

Feeds this value into the given Hasher. Read more
1.3.0 · source§

fn hash_slice<H>(data: &[Self], state: &mut H)
where H: Hasher, Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
§

impl PartialEq for SkSVGPreserveAspectRatio_Align

§

fn eq(&self, other: &SkSVGPreserveAspectRatio_Align) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
§

impl Copy for SkSVGPreserveAspectRatio_Align

§

impl Eq for SkSVGPreserveAspectRatio_Align

§

impl StructuralPartialEq for SkSVGPreserveAspectRatio_Align