Struct skyline_web::DialogOk
source · pub struct DialogOk { /* private fields */ }Implementations
Trait Implementations
sourceimpl Content for DialogOk
impl Content for DialogOk
sourcefn capacity_hint(&self, tpl: &Template<'_>) -> usize
fn capacity_hint(&self, tpl: &Template<'_>) -> usize
How much capacity is likely required for all the data in this
Content
for a given Template. Read moresourcefn render_section<C, E>(
&self,
section: Section<'_, C>,
encoder: &mut E
) -> Result<(), E::Error>where
C: ContentSequence,
E: Encoder,
fn render_section<C, E>(
&self,
section: Section<'_, C>,
encoder: &mut E
) -> Result<(), E::Error>where
C: ContentSequence,
E: Encoder,
Render a section with self.
sourcefn render_field_escaped<E>(
&self,
hash: u64,
name: &str,
encoder: &mut E
) -> Result<bool, E::Error>where
E: Encoder,
fn render_field_escaped<E>(
&self,
hash: u64,
name: &str,
encoder: &mut E
) -> Result<bool, E::Error>where
E: Encoder,
Render a field by the hash or string of its name. Read more
sourcefn render_field_unescaped<E>(
&self,
hash: u64,
name: &str,
encoder: &mut E
) -> Result<bool, E::Error>where
E: Encoder,
fn render_field_unescaped<E>(
&self,
hash: u64,
name: &str,
encoder: &mut E
) -> Result<bool, E::Error>where
E: Encoder,
Render a field by the hash or string of its name. Read more
sourcefn render_field_section<P, E>(
&self,
hash: u64,
name: &str,
section: Section<'_, P>,
encoder: &mut E
) -> Result<bool, E::Error>where
P: ContentSequence,
E: Encoder,
fn render_field_section<P, E>(
&self,
hash: u64,
name: &str,
section: Section<'_, P>,
encoder: &mut E
) -> Result<bool, E::Error>where
P: ContentSequence,
E: Encoder,
Render a field by the hash or string of its name, as a section.
If successful, returns
true if the field exists in this content, otherwise false. Read moresourcefn render_field_inverse<P, E>(
&self,
hash: u64,
name: &str,
section: Section<'_, P>,
encoder: &mut E
) -> Result<bool, E::Error>where
P: ContentSequence,
E: Encoder,
fn render_field_inverse<P, E>(
&self,
hash: u64,
name: &str,
section: Section<'_, P>,
encoder: &mut E
) -> Result<bool, E::Error>where
P: ContentSequence,
E: Encoder,
Render a field, by the hash of or string its name, as an inverse section.
If successful, returns
true if the field exists in this content, otherwise false. Read moresourcefn is_truthy(&self) -> bool
fn is_truthy(&self) -> bool
Marks whether this content is truthy. Used when attempting to render a section.
sourcefn render_escaped<E>(
&self,
_encoder: &mut E
) -> Result<(), <E as Encoder>::Error>where
E: Encoder,
fn render_escaped<E>(
&self,
_encoder: &mut E
) -> Result<(), <E as Encoder>::Error>where
E: Encoder,
Renders self as a variable to the encoder. Read more
sourcefn render_unescaped<E>(
&self,
encoder: &mut E
) -> Result<(), <E as Encoder>::Error>where
E: Encoder,
fn render_unescaped<E>(
&self,
encoder: &mut E
) -> Result<(), <E as Encoder>::Error>where
E: Encoder,
Renders self as a variable to the encoder. Read more
sourcefn render_cmark<E>(&self, encoder: &mut E) -> Result<(), <E as Encoder>::Error>where
E: Encoder,
fn render_cmark<E>(&self, encoder: &mut E) -> Result<(), <E as Encoder>::Error>where
E: Encoder,
Renders self as a variable to the encoder with CommonMark processing. Read more
sourcefn render_inverse<C, E>(
&self,
section: Section<'_, C>,
encoder: &mut E
) -> Result<(), <E as Encoder>::Error>where
C: ContentSequence,
E: Encoder,
fn render_inverse<C, E>(
&self,
section: Section<'_, C>,
encoder: &mut E
) -> Result<(), <E as Encoder>::Error>where
C: ContentSequence,
E: Encoder,
Render a section with self.
Auto Trait Implementations
impl RefUnwindSafe for DialogOk
impl Send for DialogOk
impl Sync for DialogOk
impl Unpin for DialogOk
impl UnwindSafe for DialogOk
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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