Struct md_designer::mapping::Mapping[][src]

pub struct Mapping { /* fields omitted */ }

Implementations

impl Mapping[src]

pub fn new(rule: &Rule) -> Result<Self>[src]

impl Mapping[src]

pub fn get_idx(
    &self,
    block_idx: usize,
    tag: Option<&Tag<'_>>,
    text_with_custom_prefix: Option<&str>
) -> Option<&usize>
[src]

pub fn get_auto_increment_idx(&self, block_idx: usize) -> Option<&usize>[src]

pub fn get_size(&self, block_idx: usize) -> Option<usize>[src]

pub fn is_last_key(
    &self,
    block_idx: usize,
    tag: Option<&Tag<'_>>,
    text_with_custom_prefix: Option<&str>
) -> bool
[src]

pub fn get_title(&self, block_idx: usize) -> Option<String>[src]

Trait Implementations

impl Debug for Mapping[src]

impl Default for Mapping[src]

impl PartialEq<Mapping> for Mapping[src]

impl StructuralPartialEq for Mapping[src]

Auto Trait Implementations

impl RefUnwindSafe for Mapping

impl Send for Mapping

impl Sync for Mapping

impl Unpin for Mapping

impl UnwindSafe for Mapping

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.