pub struct ComponentRoleBinding {
pub type_name: &'static str,
pub role: ComponentRole,
}Expand description
Per-(component_type, role) inventory entry: each
#[derive(bb::<Role>)] proc-macro emits one of these alongside
the universal triple. Node::ensure_ready walks the channel +
joins by type_name to compute the role bitflags per
concrete component.
Fields§
§type_name: &'static strConcreteComponent::TYPE_NAME — the join key against
ConcreteComponentRegistration.
role: ComponentRoleThe role the derive corresponds to.
Trait Implementations§
impl Collect for ComponentRoleBinding
Auto Trait Implementations§
impl Freeze for ComponentRoleBinding
impl RefUnwindSafe for ComponentRoleBinding
impl Send for ComponentRoleBinding
impl Sync for ComponentRoleBinding
impl Unpin for ComponentRoleBinding
impl UnsafeUnpin for ComponentRoleBinding
impl UnwindSafe for ComponentRoleBinding
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