pub enum CstAttribute {
Simple {
has_at: bool,
},
Parametrized {
open_paren_position: Option<Position>,
close_paren_position: Option<Position>,
argument_commas: Vec<Position>,
},
}Variants§
Trait Implementations§
Source§impl Clone for CstAttribute
impl Clone for CstAttribute
Source§fn clone(&self) -> CstAttribute
fn clone(&self) -> CstAttribute
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 CstAttribute
impl Debug for CstAttribute
impl Eq for CstAttribute
Source§impl PartialEq for CstAttribute
impl PartialEq for CstAttribute
impl StructuralPartialEq for CstAttribute
Auto Trait Implementations§
impl Freeze for CstAttribute
impl RefUnwindSafe for CstAttribute
impl Send for CstAttribute
impl Sync for CstAttribute
impl Unpin for CstAttribute
impl UnsafeUnpin for CstAttribute
impl UnwindSafe for CstAttribute
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