#[repr(C)]pub struct ClosureUseClause {
pub use: Keyword,
pub left_parenthesis: Span,
pub variables: TokenSeparatedSequence<ClosureUseClauseVariable>,
pub right_parenthesis: Span,
}Fields§
§use: Keyword§left_parenthesis: Span§variables: TokenSeparatedSequence<ClosureUseClauseVariable>§right_parenthesis: SpanTrait Implementations§
Source§impl Clone for ClosureUseClause
impl Clone for ClosureUseClause
Source§fn clone(&self) -> ClosureUseClause
fn clone(&self) -> ClosureUseClause
Returns a duplicate 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 Debug for ClosureUseClause
impl Debug for ClosureUseClause
Source§impl<'de> Deserialize<'de> for ClosureUseClause
impl<'de> Deserialize<'de> for ClosureUseClause
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl HasSpan for ClosureUseClause
impl HasSpan for ClosureUseClause
Source§impl Hash for ClosureUseClause
impl Hash for ClosureUseClause
Source§impl Ord for ClosureUseClause
impl Ord for ClosureUseClause
Source§fn cmp(&self, other: &ClosureUseClause) -> Ordering
fn cmp(&self, other: &ClosureUseClause) -> Ordering
1.21.0 · 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 ClosureUseClause
impl PartialEq for ClosureUseClause
Source§impl PartialOrd for ClosureUseClause
impl PartialOrd for ClosureUseClause
Source§impl Serialize for ClosureUseClause
impl Serialize for ClosureUseClause
impl Eq for ClosureUseClause
impl StructuralPartialEq for ClosureUseClause
Auto Trait Implementations§
impl Freeze for ClosureUseClause
impl RefUnwindSafe for ClosureUseClause
impl Send for ClosureUseClause
impl Sync for ClosureUseClause
impl Unpin for ClosureUseClause
impl UnwindSafe for ClosureUseClause
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