vizia_core::vg::svg

Type Alias LengthUnit

pub type LengthUnit = SkSVGLength_Unit;

Aliased Type§

enum LengthUnit {
    Unknown = 0,
    Number = 1,
    Percentage = 2,
    EMS = 3,
    EXS = 4,
    PX = 5,
    CM = 6,
    MM = 7,
    IN = 8,
    PT = 9,
    PC = 10,
}

Variants§

§

Unknown = 0

§

Number = 1

§

Percentage = 2

§

EMS = 3

§

EXS = 4

§

PX = 5

§

CM = 6

§

MM = 7

§

IN = 8

§

PT = 9

§

PC = 10

Trait Implementations

§

impl Clone for SkSVGLength_Unit

§

fn clone(&self) -> SkSVGLength_Unit

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 SkSVGLength_Unit

§

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

Formats the value using the given formatter. Read more
§

impl Hash for SkSVGLength_Unit

§

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 SkSVGLength_Unit

§

fn eq(&self, other: &SkSVGLength_Unit) -> 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 SkSVGLength_Unit

§

impl Eq for SkSVGLength_Unit

§

impl StructuralPartialEq for SkSVGLength_Unit