pub enum ParsedVariableFactNameV0 {
NonProperty(String),
CustomProperty(AuthoredPropertyTextV0),
}Variants§
NonProperty(String)
CustomProperty(AuthoredPropertyTextV0)
Implementations§
Source§impl ParsedVariableFactNameV0
impl ParsedVariableFactNameV0
pub fn as_non_property(&self) -> Option<&str>
pub fn as_custom_property(&self) -> Option<&AuthoredPropertyTextV0>
Trait Implementations§
Source§impl Clone for ParsedVariableFactNameV0
impl Clone for ParsedVariableFactNameV0
Source§fn clone(&self) -> ParsedVariableFactNameV0
fn clone(&self) -> ParsedVariableFactNameV0
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ParsedVariableFactNameV0
impl Debug for ParsedVariableFactNameV0
impl Eq for ParsedVariableFactNameV0
Auto Trait Implementations§
impl Freeze for ParsedVariableFactNameV0
impl RefUnwindSafe for ParsedVariableFactNameV0
impl Send for ParsedVariableFactNameV0
impl Sync for ParsedVariableFactNameV0
impl Unpin for ParsedVariableFactNameV0
impl UnsafeUnpin for ParsedVariableFactNameV0
impl UnwindSafe for ParsedVariableFactNameV0
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.