pub struct AlignmentAxisJs { /* private fields */ }Implementations§
Source§impl AlignmentAxisJs
impl AlignmentAxisJs
Trait Implementations§
Source§impl From<AlignmentAxisJs> for JsValue
impl From<AlignmentAxisJs> for JsValue
Source§fn from(value: AlignmentAxisJs) -> Self
fn from(value: AlignmentAxisJs) -> Self
Converts to this type from the input type.
Source§impl FromWasmAbi for AlignmentAxisJs
impl FromWasmAbi for AlignmentAxisJs
Source§impl IntoWasmAbi for AlignmentAxisJs
impl IntoWasmAbi for AlignmentAxisJs
Source§impl LongRefFromWasmAbi for AlignmentAxisJs
impl LongRefFromWasmAbi for AlignmentAxisJs
Source§type Abi = WasmPtr<WasmRefCell<AlignmentAxisJs>>
type Abi = WasmPtr<WasmRefCell<AlignmentAxisJs>>
Same as
RefFromWasmAbi::AbiSource§type Anchor = RcRef<AlignmentAxisJs>
type Anchor = RcRef<AlignmentAxisJs>
Same as
RefFromWasmAbi::AnchorSource§unsafe fn long_ref_from_abi(js: Self::Abi) -> Self::Anchor
unsafe fn long_ref_from_abi(js: Self::Abi) -> Self::Anchor
Same as
RefFromWasmAbi::ref_from_abiSource§impl OptionFromWasmAbi for AlignmentAxisJs
impl OptionFromWasmAbi for AlignmentAxisJs
Source§impl OptionIntoWasmAbi for AlignmentAxisJs
impl OptionIntoWasmAbi for AlignmentAxisJs
Source§impl RefFromWasmAbi for AlignmentAxisJs
impl RefFromWasmAbi for AlignmentAxisJs
Source§type Abi = WasmPtr<WasmRefCell<AlignmentAxisJs>>
type Abi = WasmPtr<WasmRefCell<AlignmentAxisJs>>
The Wasm ABI type references to
Self are recovered from.Source§type Anchor = RcRef<AlignmentAxisJs>
type Anchor = RcRef<AlignmentAxisJs>
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 AlignmentAxisJs
impl RefMutFromWasmAbi for AlignmentAxisJs
Source§type Abi = WasmPtr<WasmRefCell<AlignmentAxisJs>>
type Abi = WasmPtr<WasmRefCell<AlignmentAxisJs>>
Same as
RefFromWasmAbi::AbiSource§type Anchor = RcRefMut<AlignmentAxisJs>
type Anchor = RcRefMut<AlignmentAxisJs>
Same as
RefFromWasmAbi::AnchorSource§unsafe fn ref_mut_from_abi(js: Self::Abi) -> Self::Anchor
unsafe fn ref_mut_from_abi(js: Self::Abi) -> Self::Anchor
Same as
RefFromWasmAbi::ref_from_abiSource§impl TryFromJsValue for AlignmentAxisJs
impl TryFromJsValue for AlignmentAxisJs
Source§impl VectorFromWasmAbi for AlignmentAxisJs
impl VectorFromWasmAbi for AlignmentAxisJs
type Abi = <Box<[JsValue]> as FromWasmAbi>::Abi
unsafe fn vector_from_abi(js: Self::Abi) -> Box<[AlignmentAxisJs]>
Source§impl VectorIntoWasmAbi for AlignmentAxisJs
impl VectorIntoWasmAbi for AlignmentAxisJs
type Abi = <Box<[JsValue]> as IntoWasmAbi>::Abi
fn vector_into_abi(vector: Box<[AlignmentAxisJs]>) -> Self::Abi
Source§impl WasmDescribeVector for AlignmentAxisJs
impl WasmDescribeVector for AlignmentAxisJs
impl SupportsConstructor for AlignmentAxisJs
impl SupportsInstanceProperty for AlignmentAxisJs
impl SupportsStaticProperty for AlignmentAxisJs
Auto Trait Implementations§
impl Freeze for AlignmentAxisJs
impl RefUnwindSafe for AlignmentAxisJs
impl Send for AlignmentAxisJs
impl Sync for AlignmentAxisJs
impl Unpin for AlignmentAxisJs
impl UnwindSafe for AlignmentAxisJs
Blanket Implementations§
§impl<U> As for U
impl<U> As for U
§fn as_<T>(self) -> Twhere
T: CastFrom<U>,
fn as_<T>(self) -> Twhere
T: CastFrom<U>,
Casts
self to type T. The semantics of numeric casting with the as operator are followed, so <T as As>::as_::<U> can be used in the same way as T as U for numeric conversions. Read moreSource§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
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
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 more§impl<T> Pointable for T
impl<T> Pointable for T
Source§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::AbiSource§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.§impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
§fn to_subset(&self) -> Option<SS>
fn to_subset(&self) -> Option<SS>
The inverse inclusion map: attempts to construct
self from the equivalent element of its
superset. Read more§fn is_in_subset(&self) -> bool
fn is_in_subset(&self) -> bool
Checks if
self is actually part of its subset T (and can be converted to it).§fn to_subset_unchecked(&self) -> SS
fn to_subset_unchecked(&self) -> SS
Use with care! Same as
self.to_subset but without any property checks. Always succeeds.§fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
The inclusion map: converts
self to the equivalent element of its superset.