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 PluginAnnotationOutputwhere
*const u8 is !null: Freeze,
PhantomData<u8>: Freeze,
PhantomData<[f64; 3]>: Freeze,
PhantomData<String>: Freeze,
PhantomData<SolidPoses>: Freeze,
PhantomData<([f64; 3], [f64; 3])>: Freeze,
PhantomData<CenterCircle>: Freeze,
PhantomData<Value>: Freeze,
PhantomData<usize>: Freeze,
PhantomData<Bucket<String, Value>>: Freeze,
impl Move for PluginAnnotationOutput
impl RefUnwindSafe for PluginAnnotationOutput
impl Send for PluginAnnotationOutput
impl Sync for PluginAnnotationOutput
impl Unpin for PluginAnnotationOutput
impl UnsafeUnpin for PluginAnnotationOutputwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<[f64; 3]>: UnsafeUnpin,
PhantomData<String>: UnsafeUnpin,
PhantomData<SolidPoses>: UnsafeUnpin,
PhantomData<([f64; 3], [f64; 3])>: UnsafeUnpin,
PhantomData<CenterCircle>: UnsafeUnpin,
PhantomData<Value>: UnsafeUnpin,
PhantomData<usize>: UnsafeUnpin,
PhantomData<Bucket<String, Value>>: UnsafeUnpin,
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