pub struct ReadyForFilenameTemplate;Expand description
See description in the ContextState implementor list.
Trait Implementations§
Source§impl Clone for ReadyForFilenameTemplate
impl Clone for ReadyForFilenameTemplate
Source§fn clone(&self) -> ReadyForFilenameTemplate
fn clone(&self) -> ReadyForFilenameTemplate
Returns a copy 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 moreSource§impl Debug for ReadyForFilenameTemplate
impl Debug for ReadyForFilenameTemplate
Source§impl PartialEq for ReadyForFilenameTemplate
impl PartialEq for ReadyForFilenameTemplate
impl ContextState for ReadyForFilenameTemplate
In addition to HasSettings, the context.ct contains template variables
deserialized from some note’s front matter. E.g. a field named title:
appears in the context as fm.fm_title template variable.
In Note objects the Content is always associated with a
Context<ReadyForFilenameTemplate>.
Once this state is achieved, Context is constant and write protected until
the next state transition.
| State order | |
|---|---|
| Previous state | HasSettings |
| Current state | ReadyForFilenameTemplate |
| Next state | none or ReadyForHtmlTemplate |
impl StructuralPartialEq for ReadyForFilenameTemplate
Auto Trait Implementations§
impl Freeze for ReadyForFilenameTemplate
impl RefUnwindSafe for ReadyForFilenameTemplate
impl Send for ReadyForFilenameTemplate
impl Sync for ReadyForFilenameTemplate
impl Unpin for ReadyForFilenameTemplate
impl UnwindSafe for ReadyForFilenameTemplate
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> 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