Enum texcraft_stdext::collections::groupingmap::Scope
source · pub enum Scope {
Local,
Global,
}
Expand description
Scope is used in the insertion method to determine the scope to insert at.
Variants§
Local
Insertions in the local scope are rolled back at the end of the current group.
Global
Insertions in the global scope erase any other insertions for the same key, and persist beyond the end of the current groups.
Trait Implementations§
source§impl<'de> Deserialize<'de> for Scope
impl<'de> Deserialize<'de> for Scope
source§fn 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
impl Copy for Scope
Auto Trait Implementations§
impl RefUnwindSafe for Scope
impl Send for Scope
impl Sync for Scope
impl Unpin for Scope
impl UnwindSafe for Scope
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