pub struct Callout {
pub anchor: [f32; 2],
pub at: [f32; 2],
pub text: String,
pub emphasis: bool,
}Expand description
A note of a Widget::Diagram pointing at a feature of it: a dot at
anchor, a leader to at, and text there.
Fields§
§anchor: [f32; 2]§at: [f32; 2]§text: String§emphasis: boolTrait Implementations§
Source§impl<'de> Deserialize<'de> for Callout
impl<'de> Deserialize<'de> for Callout
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 StructuralPartialEq for Callout
Auto Trait Implementations§
impl Forget for Callout
impl Freeze for Callout
impl Move for Callout
impl RefUnwindSafe for Callout
impl Send for Callout
impl Sync for Callout
impl Unpin for Callout
impl UnsafeUnpin for Callout
impl UnwindSafe for Callout
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