pub struct RhinoSceneJs { /* private fields */ }Expand description
Encoded Rhino scene. Getters copy data out so the handle can be freed immediately.
Implementations§
Source§impl RhinoSceneJs
impl RhinoSceneJs
Trait Implementations§
Source§impl From<RhinoSceneJs> for JsValue
impl From<RhinoSceneJs> for JsValue
Source§fn from(value: RhinoSceneJs) -> Self
fn from(value: RhinoSceneJs) -> Self
Converts to this type from the input type.
Source§impl FromWasmAbi for RhinoSceneJs
impl FromWasmAbi for RhinoSceneJs
Source§impl IntoWasmAbi for RhinoSceneJs
impl IntoWasmAbi for RhinoSceneJs
Source§impl LongRefFromWasmAbi for RhinoSceneJs
impl LongRefFromWasmAbi for RhinoSceneJs
Source§type Abi = WasmPtr<WasmRefCell<RhinoSceneJs>>
type Abi = WasmPtr<WasmRefCell<RhinoSceneJs>>
Same as
RefFromWasmAbi::AbiSource§type Anchor = RcRef<RhinoSceneJs>
type Anchor = RcRef<RhinoSceneJs>
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 RhinoSceneJs
impl OptionFromWasmAbi for RhinoSceneJs
Source§impl OptionIntoWasmAbi for RhinoSceneJs
impl OptionIntoWasmAbi for RhinoSceneJs
Source§impl RefFromWasmAbi for RhinoSceneJs
impl RefFromWasmAbi for RhinoSceneJs
Source§type Abi = WasmPtr<WasmRefCell<RhinoSceneJs>>
type Abi = WasmPtr<WasmRefCell<RhinoSceneJs>>
The Wasm ABI type references to
Self are recovered from.Source§type Anchor = RcRef<RhinoSceneJs>
type Anchor = RcRef<RhinoSceneJs>
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 RhinoSceneJs
impl RefMutFromWasmAbi for RhinoSceneJs
Source§type Abi = WasmPtr<WasmRefCell<RhinoSceneJs>>
type Abi = WasmPtr<WasmRefCell<RhinoSceneJs>>
Same as
RefFromWasmAbi::AbiSource§type Anchor = RcRefMut<RhinoSceneJs>
type Anchor = RcRefMut<RhinoSceneJs>
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 RhinoSceneJs
impl TryFromJsValue for RhinoSceneJs
Source§impl VectorFromWasmAbi for RhinoSceneJs
impl VectorFromWasmAbi for RhinoSceneJs
type Abi = <Box<[JsValue]> as FromWasmAbi>::Abi
unsafe fn vector_from_abi(js: Self::Abi) -> Box<[RhinoSceneJs]>
Source§impl VectorIntoWasmAbi for RhinoSceneJs
impl VectorIntoWasmAbi for RhinoSceneJs
type Abi = <Box<[JsValue]> as IntoWasmAbi>::Abi
fn vector_into_abi(vector: Box<[RhinoSceneJs]>) -> Self::Abi
Source§impl WasmDescribeVector for RhinoSceneJs
impl WasmDescribeVector for RhinoSceneJs
impl SupportsConstructor for RhinoSceneJs
impl SupportsInstanceProperty for RhinoSceneJs
impl SupportsStaticProperty for RhinoSceneJs
Auto Trait Implementations§
impl Freeze for RhinoSceneJs
impl RefUnwindSafe for RhinoSceneJs
impl Send for RhinoSceneJs
impl Sync for RhinoSceneJs
impl Unpin for RhinoSceneJs
impl UnwindSafe for RhinoSceneJs
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.