pub enum OptionScope {
Global,
Local,
}Variants
Global
Local
Trait Implementations
sourceimpl Clone for OptionScope
impl Clone for OptionScope
sourcefn clone(&self) -> OptionScope
fn clone(&self) -> OptionScope
Returns a copy of the value. Read more
1.0.0 · sourceconst fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresourceimpl Debug for OptionScope
impl Debug for OptionScope
sourceimpl From<OptionScope> for String
impl From<OptionScope> for String
sourcefn from(ctx: OptionScope) -> String
fn from(ctx: OptionScope) -> String
Converts to this type from the input type.
sourceimpl Hash for OptionScope
impl Hash for OptionScope
sourceimpl PartialEq<OptionScope> for OptionScope
impl PartialEq<OptionScope> for OptionScope
sourcefn eq(&self, other: &OptionScope) -> bool
fn eq(&self, other: &OptionScope) -> bool
sourceimpl Serialize for OptionScope
impl Serialize for OptionScope
sourcefn 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 OptionScope
impl Eq for OptionScope
impl StructuralEq for OptionScope
impl StructuralPartialEq for OptionScope
Auto Trait Implementations
impl RefUnwindSafe for OptionScope
impl Send for OptionScope
impl Sync for OptionScope
impl Unpin for OptionScope
impl UnwindSafe for OptionScope
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