[][src]Struct web_sys::SvgPreserveAspectRatio

#[repr(transparent)]pub struct SvgPreserveAspectRatio { /* fields omitted */ }

The SvgPreserveAspectRatio class.

MDN Documentation

This API requires the following crate features to be activated: SvgPreserveAspectRatio

Methods

impl SvgPreserveAspectRatio[src]

pub fn align(&self) -> u16[src]

Getter for the align field of this object.

MDN Documentation

This API requires the following crate features to be activated: SvgPreserveAspectRatio

impl SvgPreserveAspectRatio[src]

pub fn set_align(&self, value: u16)[src]

Setter for the align field of this object.

MDN Documentation

This API requires the following crate features to be activated: SvgPreserveAspectRatio

impl SvgPreserveAspectRatio[src]

pub fn meet_or_slice(&self) -> u16[src]

Getter for the meetOrSlice field of this object.

MDN Documentation

This API requires the following crate features to be activated: SvgPreserveAspectRatio

impl SvgPreserveAspectRatio[src]

pub fn set_meet_or_slice(&self, value: u16)[src]

Setter for the meetOrSlice field of this object.

MDN Documentation

This API requires the following crate features to be activated: SvgPreserveAspectRatio

impl SvgPreserveAspectRatio[src]

pub const SVG_PRESERVEASPECTRATIO_UNKNOWN: u16[src]

The SVGPreserveAspectRatio.SVG_PRESERVEASPECTRATIO_UNKNOWN const.

This API requires the following crate features to be activated: SvgPreserveAspectRatio

pub const SVG_PRESERVEASPECTRATIO_NONE: u16[src]

The SVGPreserveAspectRatio.SVG_PRESERVEASPECTRATIO_NONE const.

This API requires the following crate features to be activated: SvgPreserveAspectRatio

pub const SVG_PRESERVEASPECTRATIO_XMINYMIN: u16[src]

The SVGPreserveAspectRatio.SVG_PRESERVEASPECTRATIO_XMINYMIN const.

This API requires the following crate features to be activated: SvgPreserveAspectRatio

pub const SVG_PRESERVEASPECTRATIO_XMIDYMIN: u16[src]

The SVGPreserveAspectRatio.SVG_PRESERVEASPECTRATIO_XMIDYMIN const.

This API requires the following crate features to be activated: SvgPreserveAspectRatio

pub const SVG_PRESERVEASPECTRATIO_XMAXYMIN: u16[src]

The SVGPreserveAspectRatio.SVG_PRESERVEASPECTRATIO_XMAXYMIN const.

This API requires the following crate features to be activated: SvgPreserveAspectRatio

pub const SVG_PRESERVEASPECTRATIO_XMINYMID: u16[src]

The SVGPreserveAspectRatio.SVG_PRESERVEASPECTRATIO_XMINYMID const.

This API requires the following crate features to be activated: SvgPreserveAspectRatio

pub const SVG_PRESERVEASPECTRATIO_XMIDYMID: u16[src]

The SVGPreserveAspectRatio.SVG_PRESERVEASPECTRATIO_XMIDYMID const.

This API requires the following crate features to be activated: SvgPreserveAspectRatio

pub const SVG_PRESERVEASPECTRATIO_XMAXYMID: u16[src]

The SVGPreserveAspectRatio.SVG_PRESERVEASPECTRATIO_XMAXYMID const.

This API requires the following crate features to be activated: SvgPreserveAspectRatio

pub const SVG_PRESERVEASPECTRATIO_XMINYMAX: u16[src]

The SVGPreserveAspectRatio.SVG_PRESERVEASPECTRATIO_XMINYMAX const.

This API requires the following crate features to be activated: SvgPreserveAspectRatio

pub const SVG_PRESERVEASPECTRATIO_XMIDYMAX: u16[src]

The SVGPreserveAspectRatio.SVG_PRESERVEASPECTRATIO_XMIDYMAX const.

This API requires the following crate features to be activated: SvgPreserveAspectRatio

pub const SVG_PRESERVEASPECTRATIO_XMAXYMAX: u16[src]

The SVGPreserveAspectRatio.SVG_PRESERVEASPECTRATIO_XMAXYMAX const.

This API requires the following crate features to be activated: SvgPreserveAspectRatio

pub const SVG_MEETORSLICE_UNKNOWN: u16[src]

The SVGPreserveAspectRatio.SVG_MEETORSLICE_UNKNOWN const.

This API requires the following crate features to be activated: SvgPreserveAspectRatio

pub const SVG_MEETORSLICE_MEET: u16[src]

The SVGPreserveAspectRatio.SVG_MEETORSLICE_MEET const.

This API requires the following crate features to be activated: SvgPreserveAspectRatio

pub const SVG_MEETORSLICE_SLICE: u16[src]

The SVGPreserveAspectRatio.SVG_MEETORSLICE_SLICE const.

This API requires the following crate features to be activated: SvgPreserveAspectRatio

Trait Implementations

impl AsRef<JsValue> for SvgPreserveAspectRatio[src]

impl AsRef<Object> for SvgPreserveAspectRatio[src]

impl AsRef<SvgPreserveAspectRatio> for SvgPreserveAspectRatio[src]

impl Clone for SvgPreserveAspectRatio[src]

impl Debug for SvgPreserveAspectRatio[src]

impl Deref for SvgPreserveAspectRatio[src]

type Target = Object

The resulting type after dereferencing.

impl Eq for SvgPreserveAspectRatio[src]

impl From<JsValue> for SvgPreserveAspectRatio[src]

impl From<SvgPreserveAspectRatio> for JsValue[src]

impl From<SvgPreserveAspectRatio> for Object[src]

impl FromWasmAbi for SvgPreserveAspectRatio[src]

type Abi = <JsValue as FromWasmAbi>::Abi

The wasm ABI type that this converts from when coming back out from the ABI boundary. Read more

impl IntoWasmAbi for SvgPreserveAspectRatio[src]

type Abi = <JsValue as IntoWasmAbi>::Abi

The wasm ABI type that this converts into when crossing the ABI boundary. Read more

impl<'a> IntoWasmAbi for &'a SvgPreserveAspectRatio[src]

type Abi = <&'a JsValue as IntoWasmAbi>::Abi

The wasm ABI type that this converts into when crossing the ABI boundary. Read more

impl JsCast for SvgPreserveAspectRatio[src]

impl OptionFromWasmAbi for SvgPreserveAspectRatio[src]

impl OptionIntoWasmAbi for SvgPreserveAspectRatio[src]

impl<'a> OptionIntoWasmAbi for &'a SvgPreserveAspectRatio[src]

impl PartialEq<SvgPreserveAspectRatio> for SvgPreserveAspectRatio[src]

impl RefFromWasmAbi for SvgPreserveAspectRatio[src]

type Abi = <JsValue as RefFromWasmAbi>::Abi

The wasm ABI type references to Self are recovered from.

type Anchor = ManuallyDrop<SvgPreserveAspectRatio>

The type that holds the reference to Self for the duration of the invocation of the function that has an &Self parameter. This is required to ensure that the lifetimes don't persist beyond one function call, and so that they remain anonymous. Read more

impl StructuralEq for SvgPreserveAspectRatio[src]

impl StructuralPartialEq for SvgPreserveAspectRatio[src]

impl WasmDescribe for SvgPreserveAspectRatio[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> ReturnWasmAbi for T where
    T: IntoWasmAbi
[src]

type Abi = <T as IntoWasmAbi>::Abi

Same as IntoWasmAbi::Abi

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

type Owned = T

The resulting type after obtaining ownership.

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.