[][src]Struct azul_css::PixelValueNoPercent

pub struct PixelValueNoPercent(pub PixelValue);

Same as PixelValue, but doesn't allow a "%" sign

Implementations

impl PixelValueNoPercent[src]

pub fn to_pixels(&self) -> f32[src]

Trait Implementations

impl Clone for PixelValueNoPercent[src]

impl Copy for PixelValueNoPercent[src]

impl Debug for PixelValueNoPercent[src]

impl Default for PixelValueNoPercent[src]

impl Display for PixelValueNoPercent[src]

impl Eq for PixelValueNoPercent[src]

impl Hash for PixelValueNoPercent[src]

impl Ord for PixelValueNoPercent[src]

impl PartialEq<PixelValueNoPercent> for PixelValueNoPercent[src]

impl PartialOrd<PixelValueNoPercent> for PixelValueNoPercent[src]

impl StructuralEq for PixelValueNoPercent[src]

impl StructuralPartialEq for PixelValueNoPercent[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.