pub struct Typography {
pub font_metrics_id: String,
pub node_label_size_milli_px: u32,
pub node_detail_size_milli_px: u32,
pub group_label_size_milli_px: u32,
pub edge_label_size_milli_px: u32,
pub line_height_permille: u32,
pub label_weight: u16,
pub detail_weight: u16,
}Expand description
Typography values expressed without platform font measurement.
Fields§
§font_metrics_id: String§node_label_size_milli_px: u32§node_detail_size_milli_px: u32§group_label_size_milli_px: u32§edge_label_size_milli_px: u32§line_height_permille: u32§label_weight: u16§detail_weight: u16Trait Implementations§
Source§impl Clone for Typography
impl Clone for Typography
Source§fn clone(&self) -> Typography
fn clone(&self) -> Typography
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 Typography
impl Debug for Typography
Source§impl<'de> Deserialize<'de> for Typography
impl<'de> Deserialize<'de> for Typography
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
impl Eq for Typography
Source§impl PartialEq for Typography
impl PartialEq for Typography
Source§impl Serialize for Typography
impl Serialize for Typography
impl StructuralPartialEq for Typography
Auto Trait Implementations§
impl Freeze for Typography
impl RefUnwindSafe for Typography
impl Send for Typography
impl Sync for Typography
impl Unpin for Typography
impl UnsafeUnpin for Typography
impl UnwindSafe for Typography
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