pub enum GlobalZone {
TheBattlefield {},
Anywhere {},
}Variants§
Implementations§
Source§impl GlobalZone
impl GlobalZone
pub fn try_from_span(span: &Span<'_>) -> Option<Self>
Trait Implementations§
Source§impl Clone for GlobalZone
impl Clone for GlobalZone
Source§fn clone(&self) -> GlobalZone
fn clone(&self) -> GlobalZone
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 GlobalZone
impl Debug for GlobalZone
Source§impl<'de> Deserialize<'de> for GlobalZone
impl<'de> Deserialize<'de> for GlobalZone
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
Source§impl Hash for GlobalZone
impl Hash for GlobalZone
Source§impl Idris for GlobalZone
impl Idris for GlobalZone
Source§impl Ord for GlobalZone
impl Ord for GlobalZone
Source§fn cmp(&self, other: &GlobalZone) -> Ordering
fn cmp(&self, other: &GlobalZone) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for GlobalZone
impl PartialEq for GlobalZone
Source§impl PartialOrd for GlobalZone
impl PartialOrd for GlobalZone
Source§impl Serialize for GlobalZone
impl Serialize for GlobalZone
impl Copy for GlobalZone
impl Eq for GlobalZone
impl StructuralPartialEq for GlobalZone
Auto Trait Implementations§
impl Freeze for GlobalZone
impl RefUnwindSafe for GlobalZone
impl Send for GlobalZone
impl Sync for GlobalZone
impl Unpin for GlobalZone
impl UnwindSafe for GlobalZone
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