pub struct StandardTextBlock {
pub headline: Option<Box<TextComponent>>,
pub body: Option<Box<ParagraphComponent>>,
}Expand description
StandardTextBlock : The A+ Content standard text box block, comprised of a paragraph with a headline.
Fields
headline: Option<Box<TextComponent>>body: Option<Box<ParagraphComponent>>Implementations
sourceimpl StandardTextBlock
impl StandardTextBlock
sourcepub fn new() -> StandardTextBlock
pub fn new() -> StandardTextBlock
The A+ Content standard text box block, comprised of a paragraph with a headline.
Trait Implementations
sourceimpl Clone for StandardTextBlock
impl Clone for StandardTextBlock
sourcefn clone(&self) -> StandardTextBlock
fn clone(&self) -> StandardTextBlock
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresourceimpl Debug for StandardTextBlock
impl Debug for StandardTextBlock
sourceimpl Default for StandardTextBlock
impl Default for StandardTextBlock
sourcefn default() -> StandardTextBlock
fn default() -> StandardTextBlock
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for StandardTextBlock
impl<'de> Deserialize<'de> for StandardTextBlock
sourcefn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
sourceimpl PartialEq<StandardTextBlock> for StandardTextBlock
impl PartialEq<StandardTextBlock> for StandardTextBlock
sourcefn eq(&self, other: &StandardTextBlock) -> bool
fn eq(&self, other: &StandardTextBlock) -> bool
sourceimpl Serialize for StandardTextBlock
impl Serialize for StandardTextBlock
impl StructuralPartialEq for StandardTextBlock
Auto Trait Implementations
impl RefUnwindSafe for StandardTextBlock
impl Send for StandardTextBlock
impl Sync for StandardTextBlock
impl Unpin for StandardTextBlock
impl UnwindSafe for StandardTextBlock
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