ConditionalFormattingRule

Struct ConditionalFormattingRule 

Source
pub struct ConditionalFormattingRule { /* private fields */ }

Implementations§

Source§

impl ConditionalFormattingRule

Source

pub fn get_type(&self) -> &ConditionalFormatValues

Source

pub fn set_type(&mut self, value: ConditionalFormatValues) -> &mut Self

Source

pub fn get_operator(&self) -> &ConditionalFormattingOperatorValues

Source

pub fn set_operator( &mut self, value: ConditionalFormattingOperatorValues, ) -> &mut Self

Source

pub fn get_text(&self) -> &str

Source

pub fn set_text<S: Into<String>>(&mut self, value: S) -> &mut Self

Source

pub fn get_priority(&self) -> &i32

Source

pub fn set_priority(&mut self, value: i32) -> &mut Self

Source

pub fn get_percent(&self) -> &bool

Source

pub fn set_percent(&mut self, value: bool) -> &mut Self

Source

pub fn get_bottom(&self) -> &bool

Source

pub fn set_bottom(&mut self, value: bool) -> &mut Self

Source

pub fn get_rank(&self) -> &u32

Source

pub fn set_rank(&mut self, value: u32) -> &mut Self

Source

pub fn get_stop_if_true(&self) -> &bool

Source

pub fn set_stop_if_true(&mut self, value: bool) -> &mut Self

Source

pub fn get_std_dev(&self) -> &i32

Source

pub fn set_std_dev(&mut self, value: i32) -> &mut Self

Source

pub fn get_above_average(&self) -> &bool

Source

pub fn set_above_average(&mut self, value: bool) -> &mut Self

Source

pub fn get_equal_average(&self) -> &bool

Source

pub fn set_equal_average(&mut self, value: bool) -> &mut Self

Source

pub fn get_time_period(&self) -> &TimePeriodValues

Source

pub fn set_time_period(&mut self, value: TimePeriodValues) -> &mut Self

Source

pub fn get_style(&self) -> Option<&Style>

Source

pub fn set_style(&mut self, value: Style) -> &mut Self

Source

pub fn remove_style(&mut self) -> &mut Self

Source

pub fn get_color_scale(&self) -> Option<&ColorScale>

Source

pub fn set_color_scale(&mut self, value: ColorScale) -> &mut Self

Source

pub fn remove_color_scale(&mut self) -> &mut Self

Source

pub fn get_data_bar(&self) -> Option<&DataBar>

Source

pub fn set_data_bar(&mut self, value: DataBar) -> &mut Self

Source

pub fn remove_data_bar(&mut self) -> &mut Self

Source

pub fn get_icon_set(&self) -> Option<&IconSet>

Source

pub fn set_icon_set(&mut self, value: IconSet) -> &mut Self

Source

pub fn remove_icon_set(&mut self) -> &mut Self

Source

pub fn get_formula(&self) -> Option<&Formula>

Source

pub fn set_formula(&mut self, value: Formula) -> &mut Self

Source

pub fn remove_formula(&mut self) -> &mut Self

Trait Implementations§

Source§

impl Clone for ConditionalFormattingRule

Source§

fn clone(&self) -> ConditionalFormattingRule

Returns a duplicate of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for ConditionalFormattingRule

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Default for ConditionalFormattingRule

Source§

fn default() -> ConditionalFormattingRule

Returns the “default value” for a type. Read more

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> Same for T

Source§

type Output = T

Should always be Self
Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.