pub enum PropertyUsage {
Statement,
Qualifier,
Both,
}Variants§
Implementations§
Source§impl PropertyUsage
impl PropertyUsage
pub fn allows_statement(self) -> bool
pub fn allows_qualifier(self) -> bool
Trait Implementations§
Source§impl Clone for PropertyUsage
impl Clone for PropertyUsage
Source§fn clone(&self) -> PropertyUsage
fn clone(&self) -> PropertyUsage
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 moreimpl Copy for PropertyUsage
Source§impl Debug for PropertyUsage
impl Debug for PropertyUsage
Source§impl<'de> Deserialize<'de> for PropertyUsage
impl<'de> Deserialize<'de> for PropertyUsage
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
impl Eq for PropertyUsage
Source§impl PartialEq for PropertyUsage
impl PartialEq for PropertyUsage
Source§impl Serialize for PropertyUsage
impl Serialize for PropertyUsage
impl StructuralPartialEq for PropertyUsage
Auto Trait Implementations§
impl Freeze for PropertyUsage
impl RefUnwindSafe for PropertyUsage
impl Send for PropertyUsage
impl Sync for PropertyUsage
impl Unpin for PropertyUsage
impl UnsafeUnpin for PropertyUsage
impl UnwindSafe for PropertyUsage
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