pub struct LabelProps {
pub text: String,
pub font: FontSpec,
pub color: Option<Color>,
pub wraps: bool,
}Fields§
§text: String§font: FontSpec§color: Option<Color>§wraps: boolTrait Implementations§
Source§impl Clone for LabelProps
impl Clone for LabelProps
Source§fn clone(&self) -> LabelProps
fn clone(&self) -> LabelProps
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 LabelProps
impl Debug for LabelProps
Source§impl Default for LabelProps
impl Default for LabelProps
Source§fn default() -> LabelProps
fn default() -> LabelProps
Returns the “default value” for a type. Read more
Source§impl PartialEq for LabelProps
impl PartialEq for LabelProps
Source§fn eq(&self, other: &LabelProps) -> bool
fn eq(&self, other: &LabelProps) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for LabelProps
Auto Trait Implementations§
impl Freeze for LabelProps
impl RefUnwindSafe for LabelProps
impl Send for LabelProps
impl Sync for LabelProps
impl Unpin for LabelProps
impl UnsafeUnpin for LabelProps
impl UnwindSafe for LabelProps
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