pub enum AlterTypeAddValuePosition {
Before(Ident),
After(Ident),
}Expand description
Variants§
Before(Ident)
Place the new value before the given neighbor value.
After(Ident)
Place the new value after the given neighbor value.
Trait Implementations§
Source§impl Clone for AlterTypeAddValuePosition
impl Clone for AlterTypeAddValuePosition
Source§fn clone(&self) -> AlterTypeAddValuePosition
fn clone(&self) -> AlterTypeAddValuePosition
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for AlterTypeAddValuePosition
impl Debug for AlterTypeAddValuePosition
Source§impl Hash for AlterTypeAddValuePosition
impl Hash for AlterTypeAddValuePosition
Source§impl Ord for AlterTypeAddValuePosition
impl Ord for AlterTypeAddValuePosition
Source§fn cmp(&self, other: &AlterTypeAddValuePosition) -> Ordering
fn cmp(&self, other: &AlterTypeAddValuePosition) -> Ordering
1.21.0 · 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 AlterTypeAddValuePosition
impl PartialOrd for AlterTypeAddValuePosition
Source§impl Visit for AlterTypeAddValuePosition
impl Visit for AlterTypeAddValuePosition
Source§impl VisitMut for AlterTypeAddValuePosition
impl VisitMut for AlterTypeAddValuePosition
Source§fn visit<V: VisitorMut>(&mut self, visitor: &mut V) -> ControlFlow<V::Break>
fn visit<V: VisitorMut>(&mut self, visitor: &mut V) -> ControlFlow<V::Break>
Mutably visit this node with the provided
VisitorMut. Read moreimpl Eq for AlterTypeAddValuePosition
impl StructuralPartialEq for AlterTypeAddValuePosition
Auto Trait Implementations§
impl Freeze for AlterTypeAddValuePosition
impl RefUnwindSafe for AlterTypeAddValuePosition
impl Send for AlterTypeAddValuePosition
impl Sync for AlterTypeAddValuePosition
impl Unpin for AlterTypeAddValuePosition
impl UnsafeUnpin for AlterTypeAddValuePosition
impl UnwindSafe for AlterTypeAddValuePosition
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