pub struct StandardTextPairBlock {
pub label: Option<Box<TextComponent>>,
pub description: Option<Box<TextComponent>>,
}Expand description
StandardTextPairBlock : The A+ Content standard label and description block, comprised of a pair of text components.
Fields
label: Option<Box<TextComponent>>description: Option<Box<TextComponent>>Implementations
sourceimpl StandardTextPairBlock
impl StandardTextPairBlock
sourcepub fn new() -> StandardTextPairBlock
pub fn new() -> StandardTextPairBlock
The A+ Content standard label and description block, comprised of a pair of text components.
Trait Implementations
sourceimpl Clone for StandardTextPairBlock
impl Clone for StandardTextPairBlock
sourcefn clone(&self) -> StandardTextPairBlock
fn clone(&self) -> StandardTextPairBlock
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 StandardTextPairBlock
impl Debug for StandardTextPairBlock
sourceimpl Default for StandardTextPairBlock
impl Default for StandardTextPairBlock
sourcefn default() -> StandardTextPairBlock
fn default() -> StandardTextPairBlock
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for StandardTextPairBlock
impl<'de> Deserialize<'de> for StandardTextPairBlock
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<StandardTextPairBlock> for StandardTextPairBlock
impl PartialEq<StandardTextPairBlock> for StandardTextPairBlock
sourcefn eq(&self, other: &StandardTextPairBlock) -> bool
fn eq(&self, other: &StandardTextPairBlock) -> bool
sourceimpl Serialize for StandardTextPairBlock
impl Serialize for StandardTextPairBlock
impl StructuralPartialEq for StandardTextPairBlock
Auto Trait Implementations
impl RefUnwindSafe for StandardTextPairBlock
impl Send for StandardTextPairBlock
impl Sync for StandardTextPairBlock
impl Unpin for StandardTextPairBlock
impl UnwindSafe for StandardTextPairBlock
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