pub struct PluginAnnotationOutput {
pub text: String,
pub geometry: PmiGeometry,
pub default_label: [f64; 3],
pub references: Vec<String>,
pub value: Option<f64>,
pub unit: String,
pub persistent_data: Value,
}Expand description
Provider output. Only geometry with a host-owned layout adapter is accepted.
Fields§
§text: String§geometry: PmiGeometry§default_label: [f64; 3]§references: Vec<String>§value: Option<f64>§unit: String§persistent_data: ValueImplementations§
Trait Implementations§
Source§impl Clone for PluginAnnotationOutput
impl Clone for PluginAnnotationOutput
Source§impl Debug for PluginAnnotationOutput
impl Debug for PluginAnnotationOutput
Source§impl<'de> Deserialize<'de> for PluginAnnotationOutput
impl<'de> Deserialize<'de> for PluginAnnotationOutput
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 Forget for PluginAnnotationOutput
impl Freeze for PluginAnnotationOutput
impl RefUnwindSafe for PluginAnnotationOutput
impl Send for PluginAnnotationOutput
impl Sync for PluginAnnotationOutput
impl Unpin for PluginAnnotationOutput
impl UnsafeUnpin for PluginAnnotationOutput
impl UnwindSafe for PluginAnnotationOutput
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