Enum vega_lite_4::FontWeight
source · pub enum FontWeight {
Double(f64),
Enum(FontWeightEnum),
IndecentExprRef(IndecentExprRef),
}
Variants§
Trait Implementations§
source§impl Clone for FontWeight
impl Clone for FontWeight
source§fn clone(&self) -> FontWeight
fn clone(&self) -> FontWeight
Returns a copy 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 FontWeight
impl Debug for FontWeight
source§impl<'de> Deserialize<'de> for FontWeight
impl<'de> Deserialize<'de> for FontWeight
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 From<FontWeightEnum> for FontWeight
impl From<FontWeightEnum> for FontWeight
source§fn from(original: FontWeightEnum) -> FontWeight
fn from(original: FontWeightEnum) -> FontWeight
Converts to this type from the input type.
source§impl From<IndecentExprRef> for FontWeight
impl From<IndecentExprRef> for FontWeight
source§fn from(original: IndecentExprRef) -> FontWeight
fn from(original: IndecentExprRef) -> FontWeight
Converts to this type from the input type.
source§impl From<f64> for FontWeight
impl From<f64> for FontWeight
source§fn from(original: f64) -> FontWeight
fn from(original: f64) -> FontWeight
Converts to this type from the input type.
Auto Trait Implementations§
impl RefUnwindSafe for FontWeight
impl Send for FontWeight
impl Sync for FontWeight
impl Unpin for FontWeight
impl UnwindSafe for FontWeight
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