pub enum FacetApplicability {
NotApplicable,
Applicable,
Required,
}Expand description
Facet applicability for built-in types
Defines which facets can be applied to which primitive types.
Variants§
NotApplicable
Facet is not applicable to this type
Applicable
Facet is applicable to this type
Required
Facet is required for this type (e.g., whitespace for string)
Trait Implementations§
Source§impl Clone for FacetApplicability
impl Clone for FacetApplicability
Source§fn clone(&self) -> FacetApplicability
fn clone(&self) -> FacetApplicability
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 FacetApplicability
Source§impl Debug for FacetApplicability
impl Debug for FacetApplicability
impl Eq for FacetApplicability
Source§impl PartialEq for FacetApplicability
impl PartialEq for FacetApplicability
Source§fn eq(&self, other: &FacetApplicability) -> bool
fn eq(&self, other: &FacetApplicability) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for FacetApplicability
Auto Trait Implementations§
impl Freeze for FacetApplicability
impl RefUnwindSafe for FacetApplicability
impl Send for FacetApplicability
impl Sync for FacetApplicability
impl Unpin for FacetApplicability
impl UnsafeUnpin for FacetApplicability
impl UnwindSafe for FacetApplicability
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