pub struct WidgetMetadata {
pub crate_name: String,
pub crate_path: PathBuf,
pub type_name: String,
pub constructor: String,
}Expand description
Metadata describing a single native widget as declared in its
[package.metadata.plushie.widget] table.
Fields§
§crate_name: StringCargo package name.
crate_path: PathBufOn-disk path to the widget crate’s manifest directory.
type_name: StringWire-protocol type name registered by the widget.
constructor: StringRust constructor expression (e.g. my_gauge::Gauge::new()).
Trait Implementations§
Source§impl Clone for WidgetMetadata
impl Clone for WidgetMetadata
Source§fn clone(&self) -> WidgetMetadata
fn clone(&self) -> WidgetMetadata
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 WidgetMetadata
impl Debug for WidgetMetadata
impl Eq for WidgetMetadata
Source§impl PartialEq for WidgetMetadata
impl PartialEq for WidgetMetadata
impl StructuralPartialEq for WidgetMetadata
Auto Trait Implementations§
impl Freeze for WidgetMetadata
impl RefUnwindSafe for WidgetMetadata
impl Send for WidgetMetadata
impl Sync for WidgetMetadata
impl Unpin for WidgetMetadata
impl UnsafeUnpin for WidgetMetadata
impl UnwindSafe for WidgetMetadata
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.