Struct ybc::TitleProps
source · pub struct TitleProps {
pub children: Children,
pub classes: Classes,
pub tag: String,
pub is_spaced: bool,
pub size: Option<HeaderSize>,
}
Fields§
§children: Children
§classes: Classes
§tag: String
The HTML tag to use for this component.
is_spaced: bool
Maintain the normal spacing between titles and subtitles.
size: Option<HeaderSize>
The size of this component.
Trait Implementations§
source§impl Clone for TitleProps
impl Clone for TitleProps
source§fn clone(&self) -> TitleProps
fn clone(&self) -> TitleProps
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 TitleProps
impl Debug for TitleProps
source§impl PartialEq<TitleProps> for TitleProps
impl PartialEq<TitleProps> for TitleProps
source§fn eq(&self, other: &TitleProps) -> bool
fn eq(&self, other: &TitleProps) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Properties for TitleProps
impl Properties for TitleProps
impl StructuralPartialEq for TitleProps
Auto Trait Implementations§
impl !RefUnwindSafe for TitleProps
impl !Send for TitleProps
impl !Sync for TitleProps
impl Unpin for TitleProps
impl !UnwindSafe for TitleProps
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> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoPropValue<Option<T>> for T
impl<T> IntoPropValue<Option<T>> for T
source§fn into_prop_value(self) -> Option<T>
fn into_prop_value(self) -> Option<T>
Convert
self
to a value of a Properties
struct.source§impl<T> IntoPropValue<T> for T
impl<T> IntoPropValue<T> for T
source§fn into_prop_value(self) -> T
fn into_prop_value(self) -> T
Convert
self
to a value of a Properties
struct.