Struct wick_config::config::components::ComponentReference
source · pub struct ComponentReference { /* private fields */ }Expand description
A reference to a component by id (typically unused by user code)
Implementations§
source§impl ComponentReference
impl ComponentReference
sourcepub fn new<T: Into<String>>(id: T) -> Self
pub fn new<T: Into<String>>(id: T) -> Self
Create a new ComponentReference with specified id.
Trait Implementations§
source§impl Clone for ComponentReference
impl Clone for ComponentReference
source§fn clone(&self) -> ComponentReference
fn clone(&self) -> ComponentReference
Returns a copy 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 moresource§impl Debug for ComponentReference
impl Debug for ComponentReference
source§impl From<ComponentReference> for ComponentReference
impl From<ComponentReference> for ComponentReference
source§fn from(value: ComponentReference) -> Self
fn from(value: ComponentReference) -> Self
Converts to this type from the input type.
source§impl PartialEq<ComponentReference> for ComponentReference
impl PartialEq<ComponentReference> for ComponentReference
source§fn eq(&self, other: &ComponentReference) -> bool
fn eq(&self, other: &ComponentReference) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl Serialize for ComponentReference
impl Serialize for ComponentReference
impl StructuralPartialEq for ComponentReference
Auto Trait Implementations§
impl RefUnwindSafe for ComponentReference
impl Send for ComponentReference
impl Sync for ComponentReference
impl Unpin for ComponentReference
impl UnwindSafe for ComponentReference
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