Enum py2erg::DefinedPlace
source · pub enum DefinedPlace {
Known(String),
Unknown,
}Variants§
Implementations§
source§impl DefinedPlace
impl DefinedPlace
pub const fn is_unknown(&self) -> bool
Trait Implementations§
source§impl Clone for DefinedPlace
impl Clone for DefinedPlace
source§fn clone(&self) -> DefinedPlace
fn clone(&self) -> DefinedPlace
Returns a copy 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 DefinedPlace
impl Debug for DefinedPlace
source§impl Hash for DefinedPlace
impl Hash for DefinedPlace
source§impl PartialEq<DefinedPlace> for DefinedPlace
impl PartialEq<DefinedPlace> for DefinedPlace
source§fn eq(&self, other: &DefinedPlace) -> bool
fn eq(&self, other: &DefinedPlace) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl PartialEq<String> for DefinedPlace
impl PartialEq<String> for DefinedPlace
source§impl PartialEq<str> for DefinedPlace
impl PartialEq<str> for DefinedPlace
impl Eq for DefinedPlace
impl StructuralEq for DefinedPlace
impl StructuralPartialEq for DefinedPlace
Auto Trait Implementations§
impl RefUnwindSafe for DefinedPlace
impl Send for DefinedPlace
impl Sync for DefinedPlace
impl Unpin for DefinedPlace
impl UnwindSafe for DefinedPlace
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