pub struct SetElement {
pub name: String,
pub is_wildcard: bool,
pub span: Range<usize>,
}Expand description
Element of a set.
Fields§
§name: StringName of the element.
is_wildcard: boolIs the name a wildcard, i.e. the element is name*.
span: Range<usize>Span for the element.
Trait Implementations§
Source§impl Clone for SetElement
impl Clone for SetElement
Source§fn clone(&self) -> SetElement
fn clone(&self) -> SetElement
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 SetElement
impl Debug for SetElement
Source§impl PartialEq for SetElement
impl PartialEq for SetElement
impl Eq for SetElement
impl StructuralPartialEq for SetElement
Auto Trait Implementations§
impl Freeze for SetElement
impl RefUnwindSafe for SetElement
impl Send for SetElement
impl Sync for SetElement
impl Unpin for SetElement
impl UnwindSafe for SetElement
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