pub struct IndexParams { /* private fields */ }Expand description
Options when creating Index.
Implementations§
Source§impl IndexParams
impl IndexParams
Sourcepub fn new() -> Self
pub fn new() -> Self
Creates a new instance of IndexParams
Sourcepub fn multi_entry(&mut self, multi_entry: bool) -> &mut Self
pub fn multi_entry(&mut self, multi_entry: bool) -> &mut Self
Sets the multi_entry flag.
Trait Implementations§
Source§impl Clone for IndexParams
impl Clone for IndexParams
Source§fn clone(&self) -> IndexParams
fn clone(&self) -> IndexParams
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 IndexParams
impl Debug for IndexParams
Source§impl Default for IndexParams
impl Default for IndexParams
Source§fn default() -> IndexParams
fn default() -> IndexParams
Returns the “default value” for a type. Read more
Source§impl From<IdbIndexParameters> for IndexParams
impl From<IdbIndexParameters> for IndexParams
Source§fn from(inner: IdbIndexParameters) -> Self
fn from(inner: IdbIndexParameters) -> Self
Converts to this type from the input type.
Source§impl From<IndexParams> for IdbIndexParameters
impl From<IndexParams> for IdbIndexParameters
Source§fn from(params: IndexParams) -> Self
fn from(params: IndexParams) -> Self
Converts to this type from the input type.
Source§impl From<IndexParams> for JsValue
impl From<IndexParams> for JsValue
Source§fn from(value: IndexParams) -> Self
fn from(value: IndexParams) -> Self
Converts to this type from the input type.
Source§impl PartialEq for IndexParams
impl PartialEq for IndexParams
Source§impl TryFrom<JsValue> for IndexParams
impl TryFrom<JsValue> for IndexParams
impl Eq for IndexParams
impl StructuralPartialEq for IndexParams
Auto Trait Implementations§
impl Freeze for IndexParams
impl RefUnwindSafe for IndexParams
impl !Send for IndexParams
impl !Sync for IndexParams
impl Unpin for IndexParams
impl UnwindSafe for IndexParams
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