pub struct Mapping { /* private fields */ }
Implementations§
Source§impl Mapping
impl Mapping
pub fn get_idx( &self, block_idx: usize, tag: Option<&Tag<'_>>, text_with_custom_prefix: Option<&str>, ) -> Option<&usize>
pub fn get_auto_increment_idx(&self, block_idx: usize) -> Option<&usize>
pub fn get_size(&self, block_idx: usize) -> Option<usize>
pub fn is_last_key( &self, block_idx: usize, tag: Option<&Tag<'_>>, text_with_custom_prefix: Option<&str>, ) -> bool
pub fn get_title(&self, block_idx: usize) -> Option<String>
Trait Implementations§
impl StructuralPartialEq for Mapping
Auto Trait Implementations§
impl Freeze for Mapping
impl RefUnwindSafe for Mapping
impl Send for Mapping
impl Sync for Mapping
impl Unpin for Mapping
impl UnwindSafe for Mapping
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