pub struct ParagraphProps {
pub content: Text,
pub block: Option<BlockFrame>,
pub alignment: Alignment,
pub wrap: Option<Wrap>,
pub scroll_x: u16,
pub scroll_y: u16,
}Fields§
§content: Text§block: Option<BlockFrame>§alignment: Alignment§wrap: Option<Wrap>§scroll_x: u16§scroll_y: u16Trait Implementations§
Source§impl Clone for ParagraphProps
impl Clone for ParagraphProps
Source§fn clone(&self) -> ParagraphProps
fn clone(&self) -> ParagraphProps
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 ParagraphProps
impl Debug for ParagraphProps
Source§impl PartialEq for ParagraphProps
impl PartialEq for ParagraphProps
impl Eq for ParagraphProps
impl StructuralPartialEq for ParagraphProps
Auto Trait Implementations§
impl Freeze for ParagraphProps
impl RefUnwindSafe for ParagraphProps
impl Send for ParagraphProps
impl Sync for ParagraphProps
impl Unpin for ParagraphProps
impl UnsafeUnpin for ParagraphProps
impl UnwindSafe for ParagraphProps
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