pub struct SegmentData {
pub style: LineStyle,
pub effects: Effects,
}
Fields§
§style: LineStyle
§effects: Effects
Trait Implementations§
Source§impl Clone for SegmentData
impl Clone for SegmentData
Source§fn clone(&self) -> SegmentData
fn clone(&self) -> SegmentData
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 SegmentData
impl Debug for SegmentData
Source§impl<'de> Deserialize<'de> for SegmentData
impl<'de> Deserialize<'de> for SegmentData
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<LineStyle> for SegmentData
impl From<LineStyle> for SegmentData
Source§fn from(style: LineStyle) -> SegmentData
fn from(style: LineStyle) -> SegmentData
Converts to this type from the input type.
Source§impl PartialEq for SegmentData
impl PartialEq for SegmentData
Source§impl Serialize for SegmentData
impl Serialize for SegmentData
impl StructuralPartialEq for SegmentData
Auto Trait Implementations§
impl Freeze for SegmentData
impl RefUnwindSafe for SegmentData
impl Send for SegmentData
impl Sync for SegmentData
impl Unpin for SegmentData
impl UnwindSafe for SegmentData
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