#[non_exhaustive]pub enum RubyPosition {
Alternate,
InterCharacter,
Over,
Under,
Raw(Raw),
}Expand description
A value of ruby-position.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Alternate
alternate.
InterCharacter
inter-character.
Over
over.
Under
under.
Raw(Raw)
Any other value, passed through unchecked.
Trait Implementations§
Source§impl Clone for RubyPosition
impl Clone for RubyPosition
Source§fn clone(&self) -> RubyPosition
fn clone(&self) -> RubyPosition
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 moreSource§impl Debug for RubyPosition
impl Debug for RubyPosition
Source§impl Display for RubyPosition
impl Display for RubyPosition
Source§impl From<Raw> for RubyPosition
impl From<Raw> for RubyPosition
Source§impl PartialEq for RubyPosition
impl PartialEq for RubyPosition
impl StructuralPartialEq for RubyPosition
Auto Trait Implementations§
impl Freeze for RubyPosition
impl RefUnwindSafe for RubyPosition
impl Send for RubyPosition
impl Sync for RubyPosition
impl Unpin for RubyPosition
impl UnsafeUnpin for RubyPosition
impl UnwindSafe for RubyPosition
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