pub struct IndexOption {
pub key: String,
pub value: String,
pub span: Span,
}Fields§
§key: String§value: String§span: SpanTrait Implementations§
Source§impl Clone for IndexOption
impl Clone for IndexOption
Source§fn clone(&self) -> IndexOption
fn clone(&self) -> IndexOption
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 IndexOption
impl Debug for IndexOption
Auto Trait Implementations§
impl Freeze for IndexOption
impl RefUnwindSafe for IndexOption
impl Send for IndexOption
impl Sync for IndexOption
impl Unpin for IndexOption
impl UnwindSafe for IndexOption
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