#[non_exhaustive]pub enum HeadingLevel {
One,
Two,
Three,
}Expand description
The size of a heading.
discord.js counterpart: HeadingLevel.
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.
Trait Implementations§
Source§impl Clone for HeadingLevel
impl Clone for HeadingLevel
impl Copy for HeadingLevel
Source§impl Debug for HeadingLevel
impl Debug for HeadingLevel
Source§impl Default for HeadingLevel
impl Default for HeadingLevel
impl Eq for HeadingLevel
Source§impl Hash for HeadingLevel
impl Hash for HeadingLevel
Source§impl PartialEq for HeadingLevel
impl PartialEq for HeadingLevel
impl StructuralPartialEq for HeadingLevel
Auto Trait Implementations§
impl Freeze for HeadingLevel
impl RefUnwindSafe for HeadingLevel
impl Send for HeadingLevel
impl Sync for HeadingLevel
impl Unpin for HeadingLevel
impl UnsafeUnpin for HeadingLevel
impl UnwindSafe for HeadingLevel
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