pub struct FindInPageOptions { /* private fields */ }
Implementations§
Source§impl FindInPageOptions
impl FindInPageOptions
pub fn new( find_next: Option<bool>, forward: Option<bool>, match_case: Option<bool>, medial_capital_as_word_start: Option<bool>, word_start: Option<bool>, ) -> FindInPageOptions
pub fn find_next(self) -> Option<bool>
pub fn set_find_next(self, value: Option<bool>)
pub fn forward(self) -> Option<bool>
pub fn set_forward(self, value: Option<bool>)
pub fn match_case(self) -> Option<bool>
pub fn set_match_case(self, value: Option<bool>)
pub fn medial_capital_as_word_start(self) -> Option<bool>
pub fn set_medial_capital_as_word_start(self, value: Option<bool>)
pub fn word_start(self) -> Option<bool>
pub fn set_word_start(self, value: Option<bool>)
Trait Implementations§
Source§impl Clone for FindInPageOptions
impl Clone for FindInPageOptions
Source§fn clone(&self) -> FindInPageOptions
fn clone(&self) -> FindInPageOptions
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 FindInPageOptions
impl Debug for FindInPageOptions
Source§impl Default for FindInPageOptions
impl Default for FindInPageOptions
Source§fn default() -> FindInPageOptions
fn default() -> FindInPageOptions
Returns the “default value” for a type. Read more
Source§impl From<FindInPageOptions> for JsValue
impl From<FindInPageOptions> for JsValue
Source§fn from(value: FindInPageOptions) -> Self
fn from(value: FindInPageOptions) -> Self
Converts to this type from the input type.
Source§impl FromWasmAbi for FindInPageOptions
impl FromWasmAbi for FindInPageOptions
Source§impl Hash for FindInPageOptions
impl Hash for FindInPageOptions
Source§impl IntoWasmAbi for FindInPageOptions
impl IntoWasmAbi for FindInPageOptions
Source§impl Ord for FindInPageOptions
impl Ord for FindInPageOptions
Source§fn cmp(&self, other: &FindInPageOptions) -> Ordering
fn cmp(&self, other: &FindInPageOptions) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for FindInPageOptions
impl PartialEq for FindInPageOptions
Source§impl PartialOrd for FindInPageOptions
impl PartialOrd for FindInPageOptions
Source§impl RefFromWasmAbi for FindInPageOptions
impl RefFromWasmAbi for FindInPageOptions
Source§type Anchor = RcRef<FindInPageOptions>
type Anchor = RcRef<FindInPageOptions>
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 TryFromJsValue for FindInPageOptions
impl TryFromJsValue for FindInPageOptions
Source§impl VectorFromWasmAbi for FindInPageOptions
impl VectorFromWasmAbi for FindInPageOptions
type Abi = <Box<[JsValue]> as FromWasmAbi>::Abi
unsafe fn vector_from_abi(js: Self::Abi) -> Box<[FindInPageOptions]>
Source§impl VectorIntoJsValue for FindInPageOptions
impl VectorIntoJsValue for FindInPageOptions
fn vector_into_jsvalue(vector: Box<[FindInPageOptions]>) -> JsValue
Source§impl VectorIntoWasmAbi for FindInPageOptions
impl VectorIntoWasmAbi for FindInPageOptions
type Abi = <Box<[JsValue]> as IntoWasmAbi>::Abi
fn vector_into_abi(vector: Box<[FindInPageOptions]>) -> Self::Abi
Source§impl WasmDescribeVector for FindInPageOptions
impl WasmDescribeVector for FindInPageOptions
impl Copy for FindInPageOptions
impl Eq for FindInPageOptions
impl StructuralPartialEq for FindInPageOptions
impl SupportsConstructor for FindInPageOptions
impl SupportsInstanceProperty for FindInPageOptions
impl SupportsStaticProperty for FindInPageOptions
Auto Trait Implementations§
impl Freeze for FindInPageOptions
impl RefUnwindSafe for FindInPageOptions
impl Send for FindInPageOptions
impl Sync for FindInPageOptions
impl Unpin for FindInPageOptions
impl UnwindSafe for FindInPageOptions
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
.