pub struct UserInfoOptions { /* private fields */ }
Implementations§
Source§impl UserInfoOptions
impl UserInfoOptions
pub fn new_with_values(encoding: Option<JsString>) -> UserInfoOptions
pub fn new() -> UserInfoOptions
pub fn encoding(&self) -> Option<JsString>
pub fn set_encoding(&mut self, value: Option<JsString>)
Trait Implementations§
Source§impl Clone for UserInfoOptions
impl Clone for UserInfoOptions
Source§fn clone(&self) -> UserInfoOptions
fn clone(&self) -> UserInfoOptions
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 UserInfoOptions
impl Debug for UserInfoOptions
Source§impl Default for UserInfoOptions
impl Default for UserInfoOptions
Source§fn default() -> UserInfoOptions
fn default() -> UserInfoOptions
Returns the “default value” for a type. Read more
Source§impl From<UserInfoOptions> for JsValue
impl From<UserInfoOptions> for JsValue
Source§fn from(value: UserInfoOptions) -> Self
fn from(value: UserInfoOptions) -> Self
Converts to this type from the input type.
Source§impl FromWasmAbi for UserInfoOptions
impl FromWasmAbi for UserInfoOptions
Source§impl IntoWasmAbi for UserInfoOptions
impl IntoWasmAbi for UserInfoOptions
Source§impl LongRefFromWasmAbi for UserInfoOptions
impl LongRefFromWasmAbi for UserInfoOptions
Source§impl OptionFromWasmAbi for UserInfoOptions
impl OptionFromWasmAbi for UserInfoOptions
Source§impl OptionIntoWasmAbi for UserInfoOptions
impl OptionIntoWasmAbi for UserInfoOptions
Source§impl PartialEq for UserInfoOptions
impl PartialEq for UserInfoOptions
Source§impl RefFromWasmAbi for UserInfoOptions
impl RefFromWasmAbi for UserInfoOptions
Source§type Anchor = RcRef<UserInfoOptions>
type Anchor = RcRef<UserInfoOptions>
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 UserInfoOptions
impl RefMutFromWasmAbi for UserInfoOptions
Source§impl TryFromJsValue for UserInfoOptions
impl TryFromJsValue for UserInfoOptions
Source§impl VectorFromWasmAbi for UserInfoOptions
impl VectorFromWasmAbi for UserInfoOptions
type Abi = <Box<[JsValue]> as FromWasmAbi>::Abi
unsafe fn vector_from_abi(js: Self::Abi) -> Box<[UserInfoOptions]>
Source§impl VectorIntoJsValue for UserInfoOptions
impl VectorIntoJsValue for UserInfoOptions
fn vector_into_jsvalue(vector: Box<[UserInfoOptions]>) -> JsValue
Source§impl VectorIntoWasmAbi for UserInfoOptions
impl VectorIntoWasmAbi for UserInfoOptions
type Abi = <Box<[JsValue]> as IntoWasmAbi>::Abi
fn vector_into_abi(vector: Box<[UserInfoOptions]>) -> Self::Abi
Source§impl WasmDescribeVector for UserInfoOptions
impl WasmDescribeVector for UserInfoOptions
impl Eq for UserInfoOptions
impl StructuralPartialEq for UserInfoOptions
impl SupportsConstructor for UserInfoOptions
impl SupportsInstanceProperty for UserInfoOptions
impl SupportsStaticProperty for UserInfoOptions
Auto Trait Implementations§
impl Freeze for UserInfoOptions
impl RefUnwindSafe for UserInfoOptions
impl !Send for UserInfoOptions
impl !Sync for UserInfoOptions
impl Unpin for UserInfoOptions
impl UnwindSafe for UserInfoOptions
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> 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::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
.