[−][src]Struct web_sys::SvgPreserveAspectRatio
The SvgPreserveAspectRatio
class.
This API requires the following crate features to be activated: SvgPreserveAspectRatio
Implementations
impl SvgPreserveAspectRatio
[src]
pub fn align(&self) -> u16
[src]
Getter for the align
field of this object.
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.
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.
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.
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]
pub fn as_ref(&self) -> &SvgPreserveAspectRatio
[src]
impl Clone for SvgPreserveAspectRatio
[src]
pub fn clone(&self) -> SvgPreserveAspectRatio
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for SvgPreserveAspectRatio
[src]
impl Deref for SvgPreserveAspectRatio
[src]
impl Eq for SvgPreserveAspectRatio
[src]
impl From<JsValue> for SvgPreserveAspectRatio
[src]
pub fn from(obj: JsValue) -> SvgPreserveAspectRatio
[src]
impl From<SvgPreserveAspectRatio> for JsValue
[src]
pub fn from(obj: SvgPreserveAspectRatio) -> JsValue
[src]
impl From<SvgPreserveAspectRatio> for Object
[src]
pub fn from(obj: SvgPreserveAspectRatio) -> 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
pub unsafe fn from_abi(js: Self::Abi) -> Self
[src]
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
pub fn into_abi(self) -> Self::Abi
[src]
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
pub fn into_abi(self) -> Self::Abi
[src]
impl JsCast for SvgPreserveAspectRatio
[src]
pub fn instanceof(val: &JsValue) -> bool
[src]
pub fn unchecked_from_js(val: JsValue) -> Self
[src]
pub fn unchecked_from_js_ref(val: &JsValue) -> &Self
[src]
pub fn has_type<T>(&self) -> bool where
T: JsCast,
[src]
T: JsCast,
pub fn dyn_into<T>(self) -> Result<T, Self> where
T: JsCast,
[src]
T: JsCast,
pub fn dyn_ref<T>(&self) -> Option<&T> where
T: JsCast,
[src]
T: JsCast,
pub fn unchecked_into<T>(self) -> T where
T: JsCast,
[src]
T: JsCast,
pub fn unchecked_ref<T>(&self) -> &T where
T: JsCast,
[src]
T: JsCast,
pub fn is_instance_of<T>(&self) -> bool where
T: JsCast,
[src]
T: JsCast,
pub fn is_type_of(val: &JsValue) -> bool
[src]
impl OptionFromWasmAbi for SvgPreserveAspectRatio
[src]
impl OptionIntoWasmAbi for SvgPreserveAspectRatio
[src]
impl<'a> OptionIntoWasmAbi for &'a SvgPreserveAspectRatio
[src]
impl PartialEq<SvgPreserveAspectRatio> for SvgPreserveAspectRatio
[src]
pub fn eq(&self, other: &SvgPreserveAspectRatio) -> bool
[src]
pub fn ne(&self, other: &SvgPreserveAspectRatio) -> bool
[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
pub unsafe fn ref_from_abi(js: Self::Abi) -> Self::Anchor
[src]
impl StructuralEq for SvgPreserveAspectRatio
[src]
impl StructuralPartialEq for SvgPreserveAspectRatio
[src]
impl WasmDescribe for SvgPreserveAspectRatio
[src]
Auto Trait Implementations
impl RefUnwindSafe for SvgPreserveAspectRatio
impl !Send for SvgPreserveAspectRatio
impl !Sync for SvgPreserveAspectRatio
impl Unpin for SvgPreserveAspectRatio
impl UnwindSafe for SvgPreserveAspectRatio
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,
pub 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> ReturnWasmAbi for T where
T: IntoWasmAbi,
[src]
T: IntoWasmAbi,
type Abi = <T as IntoWasmAbi>::Abi
Same as IntoWasmAbi::Abi
pub fn return_abi(self) -> <T as ReturnWasmAbi>::Abi
[src]
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub 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.
pub 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>,