pub struct HorizontalLine<T> {
pub main: Option<T>,
pub intersection: Option<T>,
pub left: Option<T>,
pub right: Option<T>,
}
Expand description
A structre for a custom horizontal line.
Fields§
§main: Option<T>
Line character.
intersection: Option<T>
Line intersection character.
left: Option<T>
Left intersection character.
right: Option<T>
Right intersection character.
Implementations§
Trait Implementations§
Source§impl<T: Clone> Clone for HorizontalLine<T>
impl<T: Clone> Clone for HorizontalLine<T>
Source§fn clone(&self) -> HorizontalLine<T>
fn clone(&self) -> HorizontalLine<T>
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<T: Debug> Debug for HorizontalLine<T>
impl<T: Debug> Debug for HorizontalLine<T>
Source§impl<T: Default> Default for HorizontalLine<T>
impl<T: Default> Default for HorizontalLine<T>
Source§fn default() -> HorizontalLine<T>
fn default() -> HorizontalLine<T>
Returns the “default value” for a type. Read more
impl<T: Copy> Copy for HorizontalLine<T>
Auto Trait Implementations§
impl<T> Freeze for HorizontalLine<T>where
T: Freeze,
impl<T> RefUnwindSafe for HorizontalLine<T>where
T: RefUnwindSafe,
impl<T> Send for HorizontalLine<T>where
T: Send,
impl<T> Sync for HorizontalLine<T>where
T: Sync,
impl<T> Unpin for HorizontalLine<T>where
T: Unpin,
impl<T> UnwindSafe for HorizontalLine<T>where
T: UnwindSafe,
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