pub struct JsPoint3 {
pub x: f64,
pub y: f64,
pub z: f64,
}Expand description
A 3D point exposed to JavaScript.
Fields§
§x: f64X coordinate.
y: f64Y coordinate.
z: f64Z coordinate.
Implementations§
Trait Implementations§
impl Copy for JsPoint3
Source§impl FromWasmAbi for JsPoint3
impl FromWasmAbi for JsPoint3
Source§impl IntoWasmAbi for JsPoint3
impl IntoWasmAbi for JsPoint3
Source§impl LongRefFromWasmAbi for JsPoint3
impl LongRefFromWasmAbi for JsPoint3
Source§impl OptionFromWasmAbi for JsPoint3
impl OptionFromWasmAbi for JsPoint3
Source§impl OptionIntoWasmAbi for JsPoint3
impl OptionIntoWasmAbi for JsPoint3
Source§impl RefFromWasmAbi for JsPoint3
impl RefFromWasmAbi for JsPoint3
Source§type Abi = WasmPtr<WasmRefCell<JsPoint3>>
type Abi = WasmPtr<WasmRefCell<JsPoint3>>
The Wasm ABI type references to
Self are recovered from.Source§impl RefMutFromWasmAbi for JsPoint3
impl RefMutFromWasmAbi for JsPoint3
impl SupportsConstructor for JsPoint3
impl SupportsInstanceProperty for JsPoint3
impl SupportsStaticProperty for JsPoint3
Source§impl TryFromJsValue for JsPoint3
impl TryFromJsValue for JsPoint3
Source§impl VectorFromWasmAbi for JsPoint3
impl VectorFromWasmAbi for JsPoint3
Source§impl VectorIntoWasmAbi for JsPoint3
impl VectorIntoWasmAbi for JsPoint3
Auto Trait Implementations§
impl Freeze for JsPoint3
impl RefUnwindSafe for JsPoint3
impl Send for JsPoint3
impl Sync for JsPoint3
impl Unpin for JsPoint3
impl UnsafeUnpin for JsPoint3
impl UnwindSafe for JsPoint3
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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> 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.