pub struct DefaultBindingMap { /* private fields */ }Implementations§
Source§impl DefaultBindingMap
impl DefaultBindingMap
pub fn new() -> Self
pub fn lock(&mut self)
pub fn new_instance(&self) -> Result<usize, BindingMapError>
pub fn delete_instance(&self, id: usize) -> Result<(), BindingMapError>
pub fn get_map(&self, index: usize) -> Option<Arc<BindingMap>>
pub fn register_raw<'a>( &mut self, name: &str, bindings: DefaultBindingType<'a>, ) -> Result<(), BindingMapError>
pub fn register_digital( &mut self, name: &str, bindings: &[DigitalBinding], ) -> Result<(), BindingMapError>
pub fn register_analog( &mut self, name: &str, bindings: &[AnalogBinding], ) -> Result<(), BindingMapError>
pub fn register_vector( &mut self, name: &str, bindings: &[VectorBinding], ) -> Result<(), BindingMapError>
pub fn register( &mut self, bindings: DefaultBinding, ) -> Result<(), BindingMapError>
Auto Trait Implementations§
impl !Freeze for DefaultBindingMap
impl RefUnwindSafe for DefaultBindingMap
impl Send for DefaultBindingMap
impl Sync for DefaultBindingMap
impl Unpin for DefaultBindingMap
impl UnwindSafe for DefaultBindingMap
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