pub enum HeaderFold {
Never,
Recommended,
}Expand description
Lightweight folding preference marker.
Variants§
Never
Never fold when rendering this primitive.
Recommended
Folding would be acceptable to a higher-level renderer.
Trait Implementations§
Source§impl Clone for HeaderFold
impl Clone for HeaderFold
Source§fn clone(&self) -> HeaderFold
fn clone(&self) -> HeaderFold
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 HeaderFold
impl Debug for HeaderFold
Source§impl Default for HeaderFold
impl Default for HeaderFold
Source§fn default() -> HeaderFold
fn default() -> HeaderFold
Returns the “default value” for a type. Read more
Source§impl Hash for HeaderFold
impl Hash for HeaderFold
Source§impl Ord for HeaderFold
impl Ord for HeaderFold
Source§fn cmp(&self, other: &HeaderFold) -> Ordering
fn cmp(&self, other: &HeaderFold) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for HeaderFold
impl PartialEq for HeaderFold
Source§fn eq(&self, other: &HeaderFold) -> bool
fn eq(&self, other: &HeaderFold) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for HeaderFold
impl PartialOrd for HeaderFold
impl Copy for HeaderFold
impl Eq for HeaderFold
impl StructuralPartialEq for HeaderFold
Auto Trait Implementations§
impl Freeze for HeaderFold
impl RefUnwindSafe for HeaderFold
impl Send for HeaderFold
impl Sync for HeaderFold
impl Unpin for HeaderFold
impl UnsafeUnpin for HeaderFold
impl UnwindSafe for HeaderFold
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