pub struct TransformOrigin(/* private fields */);
Implementations§
Trait Implementations§
Source§impl From<TransformOrigin> for JsValue
impl From<TransformOrigin> for JsValue
Source§fn from(value: TransformOrigin) -> Self
fn from(value: TransformOrigin) -> Self
Converts to this type from the input type.
Source§impl FromWasmAbi for TransformOrigin
impl FromWasmAbi for TransformOrigin
Source§impl IntoWasmAbi for TransformOrigin
impl IntoWasmAbi for TransformOrigin
Source§impl LongRefFromWasmAbi for TransformOrigin
impl LongRefFromWasmAbi for TransformOrigin
Source§impl OptionFromWasmAbi for TransformOrigin
impl OptionFromWasmAbi for TransformOrigin
Source§impl OptionIntoWasmAbi for TransformOrigin
impl OptionIntoWasmAbi for TransformOrigin
Source§impl RefFromWasmAbi for TransformOrigin
impl RefFromWasmAbi for TransformOrigin
Source§type Anchor = RcRef<TransformOrigin>
type Anchor = RcRef<TransformOrigin>
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.Source§impl RefMutFromWasmAbi for TransformOrigin
impl RefMutFromWasmAbi for TransformOrigin
Source§impl TryFromJsValue for TransformOrigin
impl TryFromJsValue for TransformOrigin
Source§impl VectorFromWasmAbi for TransformOrigin
impl VectorFromWasmAbi for TransformOrigin
type Abi = <Box<[JsValue]> as FromWasmAbi>::Abi
unsafe fn vector_from_abi(js: Self::Abi) -> Box<[TransformOrigin]>
Source§impl VectorIntoJsValue for TransformOrigin
impl VectorIntoJsValue for TransformOrigin
fn vector_into_jsvalue(vector: Box<[TransformOrigin]>) -> JsValue
Source§impl VectorIntoWasmAbi for TransformOrigin
impl VectorIntoWasmAbi for TransformOrigin
type Abi = <Box<[JsValue]> as IntoWasmAbi>::Abi
fn vector_into_abi(vector: Box<[TransformOrigin]>) -> Self::Abi
Source§impl WasmDescribeVector for TransformOrigin
impl WasmDescribeVector for TransformOrigin
impl SupportsConstructor for TransformOrigin
impl SupportsInstanceProperty for TransformOrigin
impl SupportsStaticProperty for TransformOrigin
Auto Trait Implementations§
impl Freeze for TransformOrigin
impl RefUnwindSafe for TransformOrigin
impl Send for TransformOrigin
impl Sync for TransformOrigin
impl Unpin for TransformOrigin
impl UnwindSafe for TransformOrigin
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§impl<T> ReturnWasmAbi for Twhere
T: IntoWasmAbi,
impl<T> ReturnWasmAbi for Twhere
T: IntoWasmAbi,
Source§type Abi = <T as IntoWasmAbi>::Abi
type Abi = <T as IntoWasmAbi>::Abi
Same as
IntoWasmAbi::Abi
Source§fn return_abi(self) -> <T as ReturnWasmAbi>::Abi
fn return_abi(self) -> <T as ReturnWasmAbi>::Abi
Same as
IntoWasmAbi::into_abi
, except that it may throw and never
return in the case of Err
.