pub enum RotationUnit {
Pixel,
Line,
Page,
}Variants§
Trait Implementations§
Source§impl From<RotationUnit> for JsValue
impl From<RotationUnit> for JsValue
Source§fn from(value: RotationUnit) -> Self
fn from(value: RotationUnit) -> Self
Converts to this type from the input type.
Source§impl FromWasmAbi for RotationUnit
impl FromWasmAbi for RotationUnit
Source§impl IntoWasmAbi for RotationUnit
impl IntoWasmAbi for RotationUnit
Source§impl OptionFromWasmAbi for RotationUnit
impl OptionFromWasmAbi for RotationUnit
Source§impl OptionIntoWasmAbi for RotationUnit
impl OptionIntoWasmAbi for RotationUnit
Source§impl TryFromJsValue for RotationUnit
impl TryFromJsValue for RotationUnit
Source§fn try_from_js_value(
value: JsValue,
) -> Result<Self, <RotationUnit as TryFromJsValue>::Error>
fn try_from_js_value( value: JsValue, ) -> Result<Self, <RotationUnit as TryFromJsValue>::Error>
Performs the conversion.
Source§impl VectorFromWasmAbi for RotationUnit
impl VectorFromWasmAbi for RotationUnit
type Abi = <Box<[JsValue]> as FromWasmAbi>::Abi
unsafe fn vector_from_abi(js: Self::Abi) -> Box<[RotationUnit]>
Source§impl VectorIntoWasmAbi for RotationUnit
impl VectorIntoWasmAbi for RotationUnit
type Abi = <Box<[JsValue]> as IntoWasmAbi>::Abi
fn vector_into_abi(vector: Box<[RotationUnit]>) -> Self::Abi
Source§impl WasmDescribeVector for RotationUnit
impl WasmDescribeVector for RotationUnit
Auto Trait Implementations§
impl Freeze for RotationUnit
impl RefUnwindSafe for RotationUnit
impl Send for RotationUnit
impl Sync for RotationUnit
impl Unpin for RotationUnit
impl UnwindSafe for RotationUnit
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> 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.