pub struct ColorScheme {
pub dark1: String,
pub light1: String,
pub dark2: String,
pub light2: String,
pub accent1: String,
pub accent2: String,
pub accent3: String,
pub accent4: String,
pub accent5: String,
pub accent6: String,
pub hyperlink: String,
pub followed_hyperlink: String,
}Expand description
A theme’s 12-color palette (<a:clrScheme>, CT_ColorScheme) — mirrors
word_ooxml::ColorScheme by name/shape (see that type’s own doc comment for the full rationale,
including why every slot is a plain RGB hex string rather than modeling <a:sysClr>’s live
system-color binding).
Fields§
§dark1: String§light1: String§dark2: String§light2: String§accent1: String§accent2: String§accent3: String§accent4: String§accent5: String§accent6: String§hyperlink: String§followed_hyperlink: StringImplementations§
Source§impl ColorScheme
impl ColorScheme
pub fn office_default() -> ColorScheme
Trait Implementations§
Source§impl Clone for ColorScheme
impl Clone for ColorScheme
Source§fn clone(&self) -> ColorScheme
fn clone(&self) -> ColorScheme
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 ColorScheme
impl Debug for ColorScheme
impl Eq for ColorScheme
Source§impl PartialEq for ColorScheme
impl PartialEq for ColorScheme
impl StructuralPartialEq for ColorScheme
Auto Trait Implementations§
impl Freeze for ColorScheme
impl RefUnwindSafe for ColorScheme
impl Send for ColorScheme
impl Sync for ColorScheme
impl Unpin for ColorScheme
impl UnsafeUnpin for ColorScheme
impl UnwindSafe for ColorScheme
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.