pub struct ArrowConfig {
pub enabled: bool,
pub size: f32,
pub arrow_type: String,
}Expand description
箭头配置
Fields§
§enabled: bool是否显示箭头
size: f32箭头大小
arrow_type: String箭头类型 (triangle, circle, diamond)
Trait Implementations§
Source§impl Clone for ArrowConfig
impl Clone for ArrowConfig
Source§fn clone(&self) -> ArrowConfig
fn clone(&self) -> ArrowConfig
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 ArrowConfig
impl Debug for ArrowConfig
Source§impl<'de> Deserialize<'de> for ArrowConfig
impl<'de> Deserialize<'de> for ArrowConfig
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
Auto Trait Implementations§
impl Freeze for ArrowConfig
impl RefUnwindSafe for ArrowConfig
impl Send for ArrowConfig
impl Sync for ArrowConfig
impl Unpin for ArrowConfig
impl UnwindSafe for ArrowConfig
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