pub enum QuoteScope {
Constrained,
Unconstrained,
}Expand description
Specifies whether the block is aligned to word boundaries or not.
Variants§
Constrained
The quoted section was aligned to word boundaries.
Unconstrained
The quoted section may not have been aligned to word boundaries.
Trait Implementations§
Source§impl Clone for QuoteScope
impl Clone for QuoteScope
Source§fn clone(&self) -> QuoteScope
fn clone(&self) -> QuoteScope
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 moreimpl Copy for QuoteScope
Source§impl Debug for QuoteScope
impl Debug for QuoteScope
impl Eq for QuoteScope
Source§impl PartialEq for QuoteScope
impl PartialEq for QuoteScope
Source§fn eq(&self, other: &QuoteScope) -> bool
fn eq(&self, other: &QuoteScope) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for QuoteScope
Auto Trait Implementations§
impl Freeze for QuoteScope
impl RefUnwindSafe for QuoteScope
impl Send for QuoteScope
impl Sync for QuoteScope
impl Unpin for QuoteScope
impl UnsafeUnpin for QuoteScope
impl UnwindSafe for QuoteScope
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