pub struct ComponentItem {
pub ty: ComponentEntityType,
pub implements: Option<String>,
}Expand description
Either an import or an export within ComponentType or
ComponentInstanceType.
Fields§
§ty: ComponentEntityTypeThe type of this item.
implements: Option<String>The optional (implements "...") metadata, if specified.
Trait Implementations§
Source§impl Clone for ComponentItem
impl Clone for ComponentItem
Source§fn clone(&self) -> ComponentItem
fn clone(&self) -> ComponentItem
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 moreAuto Trait Implementations§
impl Freeze for ComponentItem
impl RefUnwindSafe for ComponentItem
impl Send for ComponentItem
impl Sync for ComponentItem
impl Unpin for ComponentItem
impl UnsafeUnpin for ComponentItem
impl UnwindSafe for ComponentItem
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