pub struct GraphicLabel {
pub id: u64,
pub x: Option<f64>,
pub y: f64,
pub y_loc: YLocValue,
pub text: String,
pub style: LabelStyleValue,
pub color: u32,
pub text_color: u32,
pub size: String,
pub text_align: String,
pub tool_tip: String,
}Fields§
§id: u64§x: Option<f64>§y: f64§y_loc: YLocValue§text: String§style: LabelStyleValue§color: u32§text_color: u32§size: String§text_align: String§tool_tip: StringTrait Implementations§
Source§impl Clone for GraphicLabel
impl Clone for GraphicLabel
Source§impl Debug for GraphicLabel
impl Debug for GraphicLabel
Source§impl<'de> Deserialize<'de> for GraphicLabel
impl<'de> Deserialize<'de> for GraphicLabel
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 GraphicLabel
impl PartialEq for GraphicLabel
Source§impl Serialize for GraphicLabel
impl Serialize for GraphicLabel
impl StructuralPartialEq for GraphicLabel
Auto Trait Implementations§
impl Freeze for GraphicLabel
impl RefUnwindSafe for GraphicLabel
impl Send for GraphicLabel
impl Sync for GraphicLabel
impl Unpin for GraphicLabel
impl UnsafeUnpin for GraphicLabel
impl UnwindSafe for GraphicLabel
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