pub struct StrokeWeights {
pub top: f64,
pub right: f64,
pub bottom: f64,
pub left: f64,
}Expand description
StrokeWeights : Individual stroke weights
Fields§
§top: f64The top stroke weight.
right: f64The right stroke weight.
bottom: f64The bottom stroke weight.
left: f64The left stroke weight.
Implementations§
Source§impl StrokeWeights
impl StrokeWeights
Trait Implementations§
Source§impl Clone for StrokeWeights
impl Clone for StrokeWeights
Source§fn clone(&self) -> StrokeWeights
fn clone(&self) -> StrokeWeights
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 StrokeWeights
impl Debug for StrokeWeights
Source§impl Default for StrokeWeights
impl Default for StrokeWeights
Source§fn default() -> StrokeWeights
fn default() -> StrokeWeights
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for StrokeWeights
impl<'de> Deserialize<'de> for StrokeWeights
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 StrokeWeights
impl PartialEq for StrokeWeights
Source§impl Serialize for StrokeWeights
impl Serialize for StrokeWeights
impl StructuralPartialEq for StrokeWeights
Auto Trait Implementations§
impl Freeze for StrokeWeights
impl RefUnwindSafe for StrokeWeights
impl Send for StrokeWeights
impl Sync for StrokeWeights
impl Unpin for StrokeWeights
impl UnwindSafe for StrokeWeights
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