pub enum CyclePosture {
Allowed,
Refusal,
}Expand description
Whether a same-roster directed cycle remains lawful.
Variants§
Implementations§
Source§impl CyclePosture
impl CyclePosture
Sourcepub const fn requirement(self) -> Option<StructuralRequirement<CycleStanding>>
pub const fn requirement(self) -> Option<StructuralRequirement<CycleStanding>>
The cycle requirement expressed by this posture, when it constrains cycles.
Trait Implementations§
Source§impl Clone for CyclePosture
impl Clone for CyclePosture
Source§fn clone(&self) -> CyclePosture
fn clone(&self) -> CyclePosture
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 CyclePosture
Source§impl Debug for CyclePosture
impl Debug for CyclePosture
impl Eq for CyclePosture
Source§impl Hash for CyclePosture
impl Hash for CyclePosture
Source§impl PartialEq for CyclePosture
impl PartialEq for CyclePosture
impl StructuralPartialEq for CyclePosture
Auto Trait Implementations§
impl Freeze for CyclePosture
impl RefUnwindSafe for CyclePosture
impl Send for CyclePosture
impl Sync for CyclePosture
impl Unpin for CyclePosture
impl UnsafeUnpin for CyclePosture
impl UnwindSafe for CyclePosture
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