pub enum PropertyConformance {
RequiredRead,
RequiredWrite,
Optional,
}Expand description
A property’s base conformance code in its Clause 12 object table.
Conditions attached to a base code are represented separately by
PropertyPresenceCondition. This keeps the table code available to RPM
and PICS while preserving why an implemented conditional row is present.
Variants§
RequiredRead
Required and readable (R).
RequiredWrite
Required and writable (W).
Optional
Optional (O), including an implemented conditionally present row.
Implementations§
Source§impl PropertyConformance
impl PropertyConformance
Sourcepub const fn is_required(self) -> bool
pub const fn is_required(self) -> bool
Whether the table code classifies this property as required.
Trait Implementations§
Source§impl Clone for PropertyConformance
impl Clone for PropertyConformance
impl Copy for PropertyConformance
Source§impl Debug for PropertyConformance
impl Debug for PropertyConformance
impl Eq for PropertyConformance
Source§impl PartialEq for PropertyConformance
impl PartialEq for PropertyConformance
impl StructuralPartialEq for PropertyConformance
Auto Trait Implementations§
impl Freeze for PropertyConformance
impl RefUnwindSafe for PropertyConformance
impl Send for PropertyConformance
impl Sync for PropertyConformance
impl Unpin for PropertyConformance
impl UnsafeUnpin for PropertyConformance
impl UnwindSafe for PropertyConformance
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