pub struct TableStyleRuleSource {
pub when: String,
pub style: StyleSource,
}Expand description
Conditional table-row style in frontend color/length syntax.
Fields§
§when: StringDeterministic expression evaluated against one row.
style: StyleSourcePartial data-rule style.
Trait Implementations§
Source§impl Clone for TableStyleRuleSource
impl Clone for TableStyleRuleSource
Source§fn clone(&self) -> TableStyleRuleSource
fn clone(&self) -> TableStyleRuleSource
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 TableStyleRuleSource
impl Debug for TableStyleRuleSource
Source§impl Default for TableStyleRuleSource
impl Default for TableStyleRuleSource
Source§fn default() -> TableStyleRuleSource
fn default() -> TableStyleRuleSource
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for TableStyleRuleSource
impl<'de> Deserialize<'de> for TableStyleRuleSource
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for TableStyleRuleSource
impl PartialEq for TableStyleRuleSource
Source§impl Serialize for TableStyleRuleSource
impl Serialize for TableStyleRuleSource
impl StructuralPartialEq for TableStyleRuleSource
Auto Trait Implementations§
impl Freeze for TableStyleRuleSource
impl RefUnwindSafe for TableStyleRuleSource
impl Send for TableStyleRuleSource
impl Sync for TableStyleRuleSource
impl Unpin for TableStyleRuleSource
impl UnsafeUnpin for TableStyleRuleSource
impl UnwindSafe for TableStyleRuleSource
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,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<U, T> ToOwnedObj<U> for Twhere
U: FromObjRef<T>,
impl<U, T> ToOwnedObj<U> for Twhere
U: FromObjRef<T>,
Source§fn to_owned_obj(&self, data: FontData<'_>) -> U
fn to_owned_obj(&self, data: FontData<'_>) -> U
Convert this type into
T, using the provided data to resolve any offsets.