Struct blocky::ChatFormatting [−][src]
Implementations
impl ChatFormatting
[src]
pub const BLACK: ChatFormatting
[src]
pub const DARK_BLUE: ChatFormatting
[src]
pub const DARK_GREEN: ChatFormatting
[src]
pub const DARK_AQUA: ChatFormatting
[src]
pub const DARK_RED: ChatFormatting
[src]
pub const DARK_PURPLE: ChatFormatting
[src]
pub const GOLD: ChatFormatting
[src]
pub const GRAY: ChatFormatting
[src]
pub const DARK_GRAY: ChatFormatting
[src]
pub const BLUE: ChatFormatting
[src]
pub const GREEN: ChatFormatting
[src]
pub const AQUA: ChatFormatting
[src]
pub const RED: ChatFormatting
[src]
pub const LIGHT_PURPLE: ChatFormatting
[src]
pub const YELLOW: ChatFormatting
[src]
pub const WHITE: ChatFormatting
[src]
pub const OBFUSCATED: ChatFormatting
[src]
pub const BOLD: ChatFormatting
[src]
pub const STRIKETHROUGH: ChatFormatting
[src]
pub const UNDERLINE: ChatFormatting
[src]
pub const ITALIC: ChatFormatting
[src]
pub const RESET: ChatFormatting
[src]
pub fn is_color(&self) -> bool
[src]
pub fn is_format(&self) -> bool
[src]
pub fn name(&self) -> &str
[src]
pub fn code(&self) -> char
[src]
pub fn color(&self) -> Option<u32>
[src]
Trait Implementations
impl Display for ChatFormatting
[src]
impl PartialEq<ChatFormatting> for ChatFormatting
[src]
fn eq(&self, other: &ChatFormatting) -> bool
[src]
fn ne(&self, other: &ChatFormatting) -> bool
[src]
impl StructuralPartialEq for ChatFormatting
[src]
Auto Trait Implementations
impl RefUnwindSafe for ChatFormatting
[src]
impl Send for ChatFormatting
[src]
impl Sync for ChatFormatting
[src]
impl Unpin for ChatFormatting
[src]
impl UnwindSafe for ChatFormatting
[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,