#[non_exhaustive]pub enum HangingPunctuation {
AllowEnd,
First,
ForceEnd,
Last,
None,
Raw(Raw),
}Expand description
A value of hanging-punctuation.
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.
AllowEnd
allow-end.
First
first.
ForceEnd
force-end.
Last
last.
None
none.
Raw(Raw)
Any other value, passed through unchecked.
Trait Implementations§
Source§impl Clone for HangingPunctuation
impl Clone for HangingPunctuation
Source§fn clone(&self) -> HangingPunctuation
fn clone(&self) -> HangingPunctuation
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 HangingPunctuation
impl Debug for HangingPunctuation
Source§impl Display for HangingPunctuation
impl Display for HangingPunctuation
Source§impl From<Raw> for HangingPunctuation
impl From<Raw> for HangingPunctuation
Source§impl PartialEq for HangingPunctuation
impl PartialEq for HangingPunctuation
impl StructuralPartialEq for HangingPunctuation
Auto Trait Implementations§
impl Freeze for HangingPunctuation
impl RefUnwindSafe for HangingPunctuation
impl Send for HangingPunctuation
impl Sync for HangingPunctuation
impl Unpin for HangingPunctuation
impl UnsafeUnpin for HangingPunctuation
impl UnwindSafe for HangingPunctuation
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