pub struct ConditionalIconSet {
pub style: ConditionalIconType,
pub reverse_icons: bool,
pub icons_only: bool,
}Expand description
The Icon Set type is used to specify a conditional format with a set of icons such as traffic lights or arrows.
Fields§
§style: ConditionalIconType§reverse_icons: bool§icons_only: boolImplementations§
Source§impl ConditionalIconSet
impl ConditionalIconSet
pub fn new() -> Self
pub fn style(self, style: ConditionalIconType) -> Self
pub fn reverse_icons(self, reverse_icons: bool) -> Self
pub fn icons_only(self, icons_only: bool) -> Self
Trait Implementations§
Source§impl Clone for ConditionalIconSet
impl Clone for ConditionalIconSet
Source§fn clone(&self) -> ConditionalIconSet
fn clone(&self) -> ConditionalIconSet
Returns a duplicate of the value. Read more
1.0.0 · 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 ConditionalIconSet
impl Debug for ConditionalIconSet
Source§impl Default for ConditionalIconSet
impl Default for ConditionalIconSet
Source§impl From<ConditionalIconSet> for ConditionalFormat
impl From<ConditionalIconSet> for ConditionalFormat
Source§fn from(value: ConditionalIconSet) -> Self
fn from(value: ConditionalIconSet) -> Self
Converts to this type from the input type.
Source§impl PartialEq for ConditionalIconSet
impl PartialEq for ConditionalIconSet
Source§impl PartialOrd for ConditionalIconSet
impl PartialOrd for ConditionalIconSet
impl Copy for ConditionalIconSet
impl StructuralPartialEq for ConditionalIconSet
Auto Trait Implementations§
impl Freeze for ConditionalIconSet
impl RefUnwindSafe for ConditionalIconSet
impl Send for ConditionalIconSet
impl Sync for ConditionalIconSet
impl Unpin for ConditionalIconSet
impl UnwindSafe for ConditionalIconSet
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