pub enum SplineEventName {
mouseDown,
mouseUp,
mouseHover,
keyDown,
keyUp,
start,
lookAt,
follow,
scroll,
collision,
rendered,
}Expand description
An enum matching @splinetool/runtime `SplineEventName tstype
Variants§
Trait Implementations§
Source§impl Clone for SplineEventName
impl Clone for SplineEventName
Source§fn clone(&self) -> SplineEventName
fn clone(&self) -> SplineEventName
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for SplineEventName
impl Debug for SplineEventName
Source§impl Display for SplineEventName
impl Display for SplineEventName
Source§impl From<SplineEventName> for JsValue
impl From<SplineEventName> for JsValue
Source§fn from(value: SplineEventName) -> Self
fn from(value: SplineEventName) -> Self
Converts to this type from the input type.
Source§impl FromWasmAbi for SplineEventName
impl FromWasmAbi for SplineEventName
Source§impl IntoWasmAbi for SplineEventName
impl IntoWasmAbi for SplineEventName
Source§impl OptionFromWasmAbi for SplineEventName
impl OptionFromWasmAbi for SplineEventName
Source§impl OptionIntoWasmAbi for SplineEventName
impl OptionIntoWasmAbi for SplineEventName
Source§impl TryFromJsValue for SplineEventName
impl TryFromJsValue for SplineEventName
Source§impl VectorFromWasmAbi for SplineEventName
impl VectorFromWasmAbi for SplineEventName
type Abi = <Box<[JsValue]> as FromWasmAbi>::Abi
unsafe fn vector_from_abi(js: Self::Abi) -> Box<[SplineEventName]>
Source§impl VectorIntoWasmAbi for SplineEventName
impl VectorIntoWasmAbi for SplineEventName
type Abi = <Box<[JsValue]> as IntoWasmAbi>::Abi
fn vector_into_abi(vector: Box<[SplineEventName]>) -> Self::Abi
Source§impl WasmDescribeVector for SplineEventName
impl WasmDescribeVector for SplineEventName
impl Copy for SplineEventName
Auto Trait Implementations§
impl Freeze for SplineEventName
impl RefUnwindSafe for SplineEventName
impl Send for SplineEventName
impl Sync for SplineEventName
impl Unpin for SplineEventName
impl UnwindSafe for SplineEventName
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> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
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.Source§impl<T, O> SuperFrom<T> for Owhere
O: From<T>,
impl<T, O> SuperFrom<T> for Owhere
O: From<T>,
Source§fn super_from(input: T) -> O
fn super_from(input: T) -> O
Convert from a type to another type.
Source§impl<T, O, M> SuperInto<O, M> for Twhere
O: SuperFrom<T, M>,
impl<T, O, M> SuperInto<O, M> for Twhere
O: SuperFrom<T, M>,
Source§fn super_into(self) -> O
fn super_into(self) -> O
Convert from a type to another type.