pub struct MultiLevelBulletFactory<B>where
B: BulletPointFactory,{ /* private fields */ }Implementations§
Source§impl<B> MultiLevelBulletFactory<B>where
B: BulletPointFactory,
impl<B> MultiLevelBulletFactory<B>where
B: BulletPointFactory,
pub fn new<It, Ib>(into_iter: It) -> MultiLevelBulletFactory<B>where
It: IntoIterator<Item = Ib>,
Ib: IntoBulletPointFactory<Factory = B>,
Trait Implementations§
Source§impl<B> BulletPointFactory for MultiLevelBulletFactory<B>where
B: BulletPointFactory,
impl<B> BulletPointFactory for MultiLevelBulletFactory<B>where
B: BulletPointFactory,
Source§fn increment_level(&mut self)
fn increment_level(&mut self)
Increment the current level
Source§fn decrement_level(&mut self) -> bool
fn decrement_level(&mut self) -> bool
Decrement the current level. Read more
Source§impl<B> Clone for MultiLevelBulletFactory<B>where
B: Clone + BulletPointFactory,
impl<B> Clone for MultiLevelBulletFactory<B>where
B: Clone + BulletPointFactory,
Source§fn clone(&self) -> MultiLevelBulletFactory<B>
fn clone(&self) -> MultiLevelBulletFactory<B>
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl<B> Freeze for MultiLevelBulletFactory<B>
impl<B> RefUnwindSafe for MultiLevelBulletFactory<B>where
B: RefUnwindSafe,
impl<B> Send for MultiLevelBulletFactory<B>where
B: Send,
impl<B> Sync for MultiLevelBulletFactory<B>where
B: Sync,
impl<B> Unpin for MultiLevelBulletFactory<B>where
B: Unpin,
impl<B> UnwindSafe for MultiLevelBulletFactory<B>where
B: UnwindSafe,
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> InstanceOf for T
impl<T> InstanceOf for T
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<B> IntoBulletPointFactory for Bwhere
B: BulletPointFactory,
impl<B> IntoBulletPointFactory for Bwhere
B: BulletPointFactory,
type Factory = B
Source§fn into_factory(self) -> <B as IntoBulletPointFactory>::Factory
fn into_factory(self) -> <B as IntoBulletPointFactory>::Factory
Turn this type into the factory
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more