pub enum IconType {
Status(ItemStatus),
Module(ModuleType),
Message(MessageLevel),
Action(ActionType),
}Variants§
Trait Implementations§
Source§impl From<ActionType> for IconType
impl From<ActionType> for IconType
Source§fn from(action: ActionType) -> Self
fn from(action: ActionType) -> Self
Converts to this type from the input type.
Source§impl From<ItemStatus> for IconType
impl From<ItemStatus> for IconType
Source§fn from(status: ItemStatus) -> Self
fn from(status: ItemStatus) -> Self
Converts to this type from the input type.
Source§impl From<MessageLevel> for IconType
impl From<MessageLevel> for IconType
Source§fn from(level: MessageLevel) -> Self
fn from(level: MessageLevel) -> Self
Converts to this type from the input type.
Source§impl From<ModuleType> for IconType
impl From<ModuleType> for IconType
Source§fn from(module_type: ModuleType) -> Self
fn from(module_type: ModuleType) -> Self
Converts to this type from the input type.
impl Copy for IconType
Auto Trait Implementations§
impl Freeze for IconType
impl RefUnwindSafe for IconType
impl Send for IconType
impl Sync for IconType
impl Unpin for IconType
impl UnwindSafe for IconType
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more