pub enum Suffix {
Default,
None,
Some(char),
}
Expand description
Specifies an optional suffix to override the default value
Variants
Default
Use the default suffix
None
Use no suffix
Some(char)
Use the given suffix
Implementations
sourceimpl Suffix
impl Suffix
sourcepub fn is_default(&self) -> bool
pub fn is_default(&self) -> bool
Returns whether the Suffix
value is the Default
variant.
Trait Implementations
impl Copy for Suffix
impl Eq for Suffix
impl StructuralEq for Suffix
impl StructuralPartialEq for Suffix
Auto Trait Implementations
impl RefUnwindSafe for Suffix
impl Send for Suffix
impl Sync for Suffix
impl Unpin for Suffix
impl UnwindSafe for Suffix
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more