pub enum EmptyLineTag {
Br,
P,
}Expand description
The tag that should be used to represent empty Text lines.
Variants§
Br
Empty Text lines consist of a single line break tag (e.g. <br>)
P
Empty Text lines consist of an empty paragraph tag (e.g. <p></p>)
Trait Implementations§
Source§impl Clone for EmptyLineTag
impl Clone for EmptyLineTag
Source§fn clone(&self) -> EmptyLineTag
fn clone(&self) -> EmptyLineTag
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 Default for EmptyLineTag
impl Default for EmptyLineTag
Source§fn default() -> EmptyLineTag
fn default() -> EmptyLineTag
Returns the “default value” for a type. Read more
Source§impl ValueEnum for EmptyLineTag
impl ValueEnum for EmptyLineTag
impl Copy for EmptyLineTag
Auto Trait Implementations§
impl Freeze for EmptyLineTag
impl RefUnwindSafe for EmptyLineTag
impl Send for EmptyLineTag
impl Sync for EmptyLineTag
impl Unpin for EmptyLineTag
impl UnsafeUnpin for EmptyLineTag
impl UnwindSafe for EmptyLineTag
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