Enum Sides
pub enum Sides {
Up,
Down,
Both,
}Expand description
Which side(s) of a distribution a growth policy permits to move.
A deliberately different vocabulary from Side: Side names which
bound a measurement is about (Low/High); Sides names which
direction(s) a policy lets grow, matching how a user writes the
declaration (open=up / open=down / bare open for both – §6.5).
Variants§
Trait Implementations§
impl Copy for Sides
§impl<'de> Deserialize<'de> for Sides
impl<'de> Deserialize<'de> for Sides
§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 Sides
§impl Ord for Sides
impl Ord for Sides
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
§impl PartialOrd for Sides
impl PartialOrd for Sides
impl StructuralPartialEq for Sides
Auto Trait Implementations§
impl Freeze for Sides
impl RefUnwindSafe for Sides
impl Send for Sides
impl Sync for Sides
impl Unpin for Sides
impl UnsafeUnpin for Sides
impl UnwindSafe for Sides
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