pub struct AgentCatalog { /* private fields */ }Implementations§
Source§impl AgentCatalog
impl AgentCatalog
pub fn new(agents: impl IntoIterator<Item = AgentListItem>) -> Self
pub fn list(&self) -> &[AgentListItem]
Trait Implementations§
Source§impl Clone for AgentCatalog
impl Clone for AgentCatalog
Auto Trait Implementations§
impl Freeze for AgentCatalog
impl RefUnwindSafe for AgentCatalog
impl Send for AgentCatalog
impl Sync for AgentCatalog
impl Unpin for AgentCatalog
impl UnsafeUnpin for AgentCatalog
impl UnwindSafe for AgentCatalog
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