pub struct StandardTextBlock {
pub headline: Option<Box<TextComponent>>,
pub body: Option<Box<ParagraphComponent>>,
}Expand description
StandardTextBlock : The A+ Content standard text box block, which contains a paragraph and a headline.
Fields§
§headline: Option<Box<TextComponent>>§body: Option<Box<ParagraphComponent>>Implementations§
Source§impl StandardTextBlock
impl StandardTextBlock
Sourcepub fn new() -> StandardTextBlock
pub fn new() -> StandardTextBlock
The A+ Content standard text box block, which contains a paragraph and a headline.
Trait Implementations§
Source§impl Clone for StandardTextBlock
impl Clone for StandardTextBlock
Source§fn clone(&self) -> StandardTextBlock
fn clone(&self) -> StandardTextBlock
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 moreSource§impl Debug for StandardTextBlock
impl Debug for StandardTextBlock
Source§impl Default for StandardTextBlock
impl Default for StandardTextBlock
Source§fn default() -> StandardTextBlock
fn default() -> StandardTextBlock
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for StandardTextBlock
impl<'de> Deserialize<'de> for StandardTextBlock
Source§fn 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
Source§impl PartialEq for StandardTextBlock
impl PartialEq for StandardTextBlock
Source§impl Serialize for StandardTextBlock
impl Serialize for StandardTextBlock
impl StructuralPartialEq for StandardTextBlock
Auto Trait Implementations§
impl Freeze for StandardTextBlock
impl RefUnwindSafe for StandardTextBlock
impl Send for StandardTextBlock
impl Sync for StandardTextBlock
impl Unpin for StandardTextBlock
impl UnsafeUnpin for StandardTextBlock
impl UnwindSafe for StandardTextBlock
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