pub struct ComponentRegistry { /* private fields */ }
Expand description
コンポーネントレジストリ
Implementations§
Source§impl ComponentRegistry
impl ComponentRegistry
pub fn new() -> Self
pub fn register(&mut self, component: ComponentIR)
pub fn get(&self, id: &str) -> Option<&ComponentIR>
pub fn get_by_name(&self, name: &str) -> Option<&ComponentIR>
Auto Trait Implementations§
impl Freeze for ComponentRegistry
impl RefUnwindSafe for ComponentRegistry
impl Send for ComponentRegistry
impl Sync for ComponentRegistry
impl Unpin for ComponentRegistry
impl UnwindSafe for ComponentRegistry
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