pub enum TreeSide {
Left,
Right,
}Expand description
Which side tree a node belongs to in the correspondence-first IR.
Variants§
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for TreeSide
impl<'de> Deserialize<'de> for TreeSide
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
Source§impl Ord for TreeSide
impl Ord for TreeSide
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
Source§impl PartialOrd for TreeSide
impl PartialOrd for TreeSide
impl Copy for TreeSide
impl Eq for TreeSide
impl StructuralPartialEq for TreeSide
Auto Trait Implementations§
impl Freeze for TreeSide
impl RefUnwindSafe for TreeSide
impl Send for TreeSide
impl Sync for TreeSide
impl Unpin for TreeSide
impl UnsafeUnpin for TreeSide
impl UnwindSafe for TreeSide
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