pub struct IndentProps {
pub content: String,
pub style: IndentStyle,
}Fields§
§content: StringThe content to be indented.
style: IndentStyleThe indentation style to use.
Implementations§
Trait Implementations§
Source§impl Clone for IndentProps
impl Clone for IndentProps
Source§fn clone(&self) -> IndentProps
fn clone(&self) -> IndentProps
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 moreAuto Trait Implementations§
impl Freeze for IndentProps
impl RefUnwindSafe for IndentProps
impl Send for IndentProps
impl Sync for IndentProps
impl Unpin for IndentProps
impl UnwindSafe for IndentProps
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