pub struct Store { /* private fields */ }
Implementations
sourceimpl Store
impl Store
pub fn new_sec(&mut self, sec: Ustr) -> SectionMut<'_>
pub fn new_cmd(&mut self, cmd: Ustr) -> CmdMut<'_>
pub fn new_pos(&mut self, cmd: Ustr, pos: Ustr) -> Option<CmdPosMut<'_>>
pub fn new_opt(&mut self, cmd: Ustr, opt: Ustr) -> Option<CmdOptMut<'_>>
pub fn attach_cmd(&mut self, sec: Ustr, cmd: Ustr) -> bool
pub fn add_sec(&mut self, sec: SecStore)
pub fn add_cmd(&mut self, cmd: CmdStore)
pub fn add_pos(&mut self, cmd: Ustr, pos: PosStore) -> bool
pub fn add_opt(&mut self, cmd: Ustr, opt: OptStore) -> bool
pub fn sec_len(&self) -> usize
pub fn cmd_len(&self) -> usize
pub fn get_secs(&self) -> &[SecStore]
pub fn get_cmds(&self) -> &[CmdStore]
pub fn get_sec(&self, sec: Ustr) -> Option<&SecStore>
pub fn get_cmd(&self, cmd: Ustr) -> Option<&CmdStore>
pub fn get_pos(&self, cmd: Ustr, pos: Ustr) -> Option<&PosStore>
pub fn get_opt(&self, cmd: Ustr, opt: Ustr) -> Option<&OptStore>
pub fn get_sec_mut(&mut self, sec: Ustr) -> Option<&mut SecStore>
pub fn get_cmd_mut(&mut self, cmd: Ustr) -> Option<&mut CmdStore>
pub fn get_pos_mut(&mut self, cmd: Ustr, pos: Ustr) -> Option<&mut PosStore>
pub fn get_opt_mut(&mut self, cmd: Ustr, opt: Ustr) -> Option<&mut OptStore>
pub fn sec_iter(&self) -> Iter<'_, SecStore>
pub fn cmd_iter(&self) -> Iter<'_, CmdStore>
pub fn sec_iter_mut(&mut self) -> IterMut<'_, SecStore>
pub fn cmd_iter_mut(&mut self) -> IterMut<'_, CmdStore>
pub fn get_global(&self) -> &CmdStore
pub fn get_global_mut(&mut self) -> &mut CmdStore
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Store
impl Send for Store
impl Sync for Store
impl Unpin for Store
impl UnwindSafe for Store
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more