pub struct FunctionBindings { /* private fields */ }Implementations§
Source§impl FunctionBindings
impl FunctionBindings
pub fn by_name(&self, name: &str) -> Option<Id<FunctionBinding>>
pub fn by_index(&self, index: u32) -> Option<Id<FunctionBinding>>
pub fn get<T>(&self, id: T::Id) -> Option<&T>where
T: FunctionBindingId,
pub fn get_mut<T>(&mut self, id: T::Id) -> Option<&mut T>where
T: FunctionBindingId,
pub fn insert<T>(&mut self, binding: T) -> T::Idwhere
T: FunctionBindingId,
Trait Implementations§
Source§impl Clone for FunctionBindings
impl Clone for FunctionBindings
Source§fn clone(&self) -> FunctionBindings
fn clone(&self) -> FunctionBindings
Returns a duplicate 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 FunctionBindings
impl Debug for FunctionBindings
Source§impl Default for FunctionBindings
impl Default for FunctionBindings
Source§fn default() -> FunctionBindings
fn default() -> FunctionBindings
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for FunctionBindings
impl RefUnwindSafe for FunctionBindings
impl Send for FunctionBindings
impl Sync for FunctionBindings
impl Unpin for FunctionBindings
impl UnwindSafe for FunctionBindings
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