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