pub struct Implements { /* private fields */ }Implementations§
Source§impl Implements
impl Implements
Sourcepub fn get(&self, id: ImplementId) -> &Implement
pub fn get(&self, id: ImplementId) -> &Implement
Gets a reference to an implement given its id
Sourcepub fn get_mut(&mut self, id: ImplementId) -> &mut Implement
pub fn get_mut(&mut self, id: ImplementId) -> &mut Implement
Gets a reference to an implement given its id
Sourcepub fn iter(&self) -> impl Iterator<Item = &Implement>
pub fn iter(&self) -> impl Iterator<Item = &Implement>
Get a shared reference to this section’s implements.
Sourcepub fn iter_mut(&mut self) -> impl Iterator<Item = &mut Implement>
pub fn iter_mut(&mut self) -> impl Iterator<Item = &mut Implement>
Get mutable references to this section’s implements.
Sourcepub fn add(
&mut self,
adapter_func: FuncId,
core_func: FunctionId,
) -> ImplementId
pub fn add( &mut self, adapter_func: FuncId, core_func: FunctionId, ) -> ImplementId
Adds a new implement to this section
Trait Implementations§
Source§impl Debug for Implements
impl Debug for Implements
Source§impl Default for Implements
impl Default for Implements
Source§fn default() -> Implements
fn default() -> Implements
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for Implements
impl RefUnwindSafe for Implements
impl Send for Implements
impl Sync for Implements
impl Unpin for Implements
impl UnwindSafe for Implements
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