pub struct LessConditions<'s> {
pub conditions: Vec<LessCondition<'s>>,
pub when_span: Span,
pub comma_spans: Vec<Span>,
pub span: Span,
}Fields§
§conditions: Vec<LessCondition<'s>>§when_span: Span§comma_spans: Vec<Span>§span: SpanTrait Implementations§
Source§impl<'s> Clone for LessConditions<'s>
impl<'s> Clone for LessConditions<'s>
Source§fn clone(&self) -> LessConditions<'s>
fn clone(&self) -> LessConditions<'s>
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<'s> Debug for LessConditions<'s>
impl<'s> Debug for LessConditions<'s>
Source§impl<'cmt, 's: 'cmt> Parse<'cmt, 's> for LessConditions<'s>
impl<'cmt, 's: 'cmt> Parse<'cmt, 's> for LessConditions<'s>
Source§impl<'s> PartialEq for LessConditions<'s>
impl<'s> PartialEq for LessConditions<'s>
Source§fn eq(&self, other: &LessConditions<'s>) -> bool
fn eq(&self, other: &LessConditions<'s>) -> bool
Tests for
self and other values to be equal, and is used by ==.impl<'s> StructuralPartialEq for LessConditions<'s>
Auto Trait Implementations§
impl<'s> Freeze for LessConditions<'s>
impl<'s> RefUnwindSafe for LessConditions<'s>
impl<'s> Send for LessConditions<'s>
impl<'s> Sync for LessConditions<'s>
impl<'s> Unpin for LessConditions<'s>
impl<'s> UnsafeUnpin for LessConditions<'s>
impl<'s> UnwindSafe for LessConditions<'s>
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