Struct pepper::editor_utils::RegisterCollection
source · [−]pub struct RegisterCollection { /* private fields */ }
Implementations
sourceimpl RegisterCollection
impl RegisterCollection
pub const fn new() -> Self
pub fn get(&self, key: RegisterKey) -> &str
pub fn get_mut(&mut self, key: RegisterKey) -> &mut String
Auto Trait Implementations
impl RefUnwindSafe for RegisterCollection
impl Send for RegisterCollection
impl Sync for RegisterCollection
impl Unpin for RegisterCollection
impl UnwindSafe for RegisterCollection
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more