pub enum DictionaryScope {
Global,
Template,
Type,
}Expand description
Dictionary scope for operator state.
Variants§
Global
Global dictionary shared across all templates.
Template
Template-specific dictionary.
Type
Type-specific dictionary.
Trait Implementations§
Source§impl Clone for DictionaryScope
impl Clone for DictionaryScope
Source§fn clone(&self) -> DictionaryScope
fn clone(&self) -> DictionaryScope
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 DictionaryScope
impl Debug for DictionaryScope
Source§impl Default for DictionaryScope
impl Default for DictionaryScope
Source§fn default() -> DictionaryScope
fn default() -> DictionaryScope
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for DictionaryScope
impl<'de> Deserialize<'de> for DictionaryScope
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<DictionaryScope, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<DictionaryScope, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Hash for DictionaryScope
impl Hash for DictionaryScope
Source§impl PartialEq for DictionaryScope
impl PartialEq for DictionaryScope
Source§impl Serialize for DictionaryScope
impl Serialize for DictionaryScope
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl Copy for DictionaryScope
impl Eq for DictionaryScope
impl StructuralPartialEq for DictionaryScope
Auto Trait Implementations§
impl Freeze for DictionaryScope
impl RefUnwindSafe for DictionaryScope
impl Send for DictionaryScope
impl Sync for DictionaryScope
impl Unpin for DictionaryScope
impl UnwindSafe for DictionaryScope
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