pub struct TextSymbology {
pub attribute: String,
pub fill_color: Box<ColorParam>,
pub stroke: Box<StrokeParam>,
}Fields§
§attribute: String§fill_color: Box<ColorParam>§stroke: Box<StrokeParam>Implementations§
Source§impl TextSymbology
impl TextSymbology
pub fn new( attribute: String, fill_color: ColorParam, stroke: StrokeParam, ) -> TextSymbology
Trait Implementations§
Source§impl Clone for TextSymbology
impl Clone for TextSymbology
Source§fn clone(&self) -> TextSymbology
fn clone(&self) -> TextSymbology
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 TextSymbology
impl Debug for TextSymbology
Source§impl Default for TextSymbology
impl Default for TextSymbology
Source§fn default() -> TextSymbology
fn default() -> TextSymbology
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for TextSymbology
impl<'de> Deserialize<'de> for TextSymbology
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 TextSymbology
impl PartialEq for TextSymbology
Source§fn eq(&self, other: &TextSymbology) -> bool
fn eq(&self, other: &TextSymbology) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for TextSymbology
impl Serialize for TextSymbology
impl StructuralPartialEq for TextSymbology
Auto Trait Implementations§
impl Freeze for TextSymbology
impl RefUnwindSafe for TextSymbology
impl Send for TextSymbology
impl Sync for TextSymbology
impl Unpin for TextSymbology
impl UnsafeUnpin for TextSymbology
impl UnwindSafe for TextSymbology
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