pub struct IntkeyState<'a> { /* private fields */ }Implementations§
Source§impl<'a> IntkeyState<'a>
impl<'a> IntkeyState<'a>
pub fn new(context: &'a mut dyn TransactionContext) -> IntkeyState<'_>
pub fn get(&mut self, name: &str) -> Result<Option<u32>, ApplyError>
pub fn set(&mut self, name: &str, value: u32) -> Result<(), ApplyError>
Auto Trait Implementations§
impl<'a> Freeze for IntkeyState<'a>
impl<'a> !RefUnwindSafe for IntkeyState<'a>
impl<'a> !Send for IntkeyState<'a>
impl<'a> !Sync for IntkeyState<'a>
impl<'a> Unpin for IntkeyState<'a>
impl<'a> !UnwindSafe for IntkeyState<'a>
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