pub enum TextRepresentation {
Array,
String,
}
Expand description
How text is represented in materialized objects on the JS side
Variants§
Trait Implementations§
source§impl Clone for TextRepresentation
impl Clone for TextRepresentation
source§fn clone(&self) -> TextRepresentation
fn clone(&self) -> TextRepresentation
Returns a copy 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 TextRepresentation
impl Debug for TextRepresentation
source§impl Default for TextRepresentation
impl Default for TextRepresentation
source§impl From<TextRepresentation> for JsValue
impl From<TextRepresentation> for JsValue
source§fn from(value: TextRepresentation) -> Self
fn from(value: TextRepresentation) -> Self
Converts to this type from the input type.
source§impl From<TextRepresentation> for TextRepresentation
impl From<TextRepresentation> for TextRepresentation
source§fn from(tr: TextRepresentation) -> Self
fn from(tr: TextRepresentation) -> Self
Converts to this type from the input type.
source§impl FromWasmAbi for TextRepresentation
impl FromWasmAbi for TextRepresentation
source§impl IntoWasmAbi for TextRepresentation
impl IntoWasmAbi for TextRepresentation
source§impl PartialEq<TextRepresentation> for TextRepresentation
impl PartialEq<TextRepresentation> for TextRepresentation
source§fn eq(&self, other: &TextRepresentation) -> bool
fn eq(&self, other: &TextRepresentation) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl TryFromJsValue for TextRepresentation
impl TryFromJsValue for TextRepresentation
source§fn try_from_js_value(
value: JsValue
) -> Result<Self, <TextRepresentation as TryFromJsValue>::Error>
fn try_from_js_value( value: JsValue ) -> Result<Self, <TextRepresentation as TryFromJsValue>::Error>
Performs the conversion.
source§impl VectorFromWasmAbi for TextRepresentation
impl VectorFromWasmAbi for TextRepresentation
type Abi = <Box<[JsValue], Global> as FromWasmAbi>::Abi
unsafe fn vector_from_abi(js: Self::Abi) -> Box<[TextRepresentation]>
source§impl VectorIntoWasmAbi for TextRepresentation
impl VectorIntoWasmAbi for TextRepresentation
type Abi = <Box<[JsValue], Global> as IntoWasmAbi>::Abi
fn vector_into_abi(vector: Box<[TextRepresentation]>) -> Self::Abi
source§impl WasmDescribeVector for TextRepresentation
impl WasmDescribeVector for TextRepresentation
impl Copy for TextRepresentation
impl Eq for TextRepresentation
impl StructuralEq for TextRepresentation
impl StructuralPartialEq for TextRepresentation
Auto Trait Implementations§
impl RefUnwindSafe for TextRepresentation
impl Send for TextRepresentation
impl Sync for TextRepresentation
impl Unpin for TextRepresentation
impl UnwindSafe for TextRepresentation
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
§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> ReturnWasmAbi for Twhere
T: IntoWasmAbi,
impl<T> ReturnWasmAbi for Twhere T: IntoWasmAbi,
§type Abi = <T as IntoWasmAbi>::Abi
type Abi = <T as IntoWasmAbi>::Abi
Same as
IntoWasmAbi::Abi
source§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
.