Struct codesnip_core::SnippetMap
source · [−]pub struct SnippetMap {
pub map: BTreeMap<String, LinkedSnippet>,
}
Fields
map: BTreeMap<String, LinkedSnippet>
Implementations
Trait Implementations
sourceimpl Clone for SnippetMap
impl Clone for SnippetMap
sourcefn clone(&self) -> SnippetMap
fn clone(&self) -> SnippetMap
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for SnippetMap
impl Debug for SnippetMap
sourceimpl Default for SnippetMap
impl Default for SnippetMap
sourcefn default() -> SnippetMap
fn default() -> SnippetMap
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for SnippetMap
impl<'de> Deserialize<'de> for SnippetMap
sourcefn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
sourceimpl Extend<(String, LinkedSnippet)> for SnippetMap
impl Extend<(String, LinkedSnippet)> for SnippetMap
sourcefn extend<T: IntoIterator<Item = (String, LinkedSnippet)>>(&mut self, iter: T)
fn extend<T: IntoIterator<Item = (String, LinkedSnippet)>>(&mut self, iter: T)
Extends a collection with the contents of an iterator. Read more
sourcefn extend_one(&mut self, item: A)
fn extend_one(&mut self, item: A)
🔬This is a nightly-only experimental API. (
extend_one
)Extends a collection with exactly one element.
sourcefn extend_reserve(&mut self, additional: usize)
fn extend_reserve(&mut self, additional: usize)
🔬This is a nightly-only experimental API. (
extend_one
)Reserves capacity in a collection for the given number of additional elements. Read more
sourceimpl IntoIterator for SnippetMap
impl IntoIterator for SnippetMap
type Item = (String, LinkedSnippet)
type Item = (String, LinkedSnippet)
The type of the elements being iterated over.
type IntoIter = <BTreeMap<String, LinkedSnippet, Global> as IntoIterator>::IntoIter
type IntoIter = <BTreeMap<String, LinkedSnippet, Global> as IntoIterator>::IntoIter
Which kind of iterator are we turning this into?
sourceimpl Serialize for SnippetMap
impl Serialize for SnippetMap
Auto Trait Implementations
impl RefUnwindSafe for SnippetMap
impl Send for SnippetMap
impl Sync for SnippetMap
impl Unpin for SnippetMap
impl UnwindSafe for SnippetMap
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more