Expand description
Nya flags documentation
Variants
Puk(Puk)
Puk documentation
Pak(Pak)
Pak documentation
Implementations
sourceimpl Nya
impl Nya
pub fn try_parse_terminated<T: Parse>(
lookahead1: &Lookahead1<'_>,
stream: ParseStream<'_>
) -> Result<Option<Punctuated<Self, Comma>>>
Trait Implementations
sourceimpl EasyAttributeGroup for Nya
impl EasyAttributeGroup for Nya
sourcefn try_parse(
lookahead1: &Lookahead1<'_>,
stream: ParseStream<'_>
) -> Result<Option<Self>>
fn try_parse(
lookahead1: &Lookahead1<'_>,
stream: ParseStream<'_>
) -> Result<Option<Self>>
Attempt to parse attribute group.
Returns some attribute when parsing succeeds.
Returns none if attribute peeking returns false, signalling that stream contains some other attribute.
Returns error if peeking returns true but parsing fails. Read more
sourcefn overlap_error(&self, other: &Self) -> Error
fn overlap_error(&self, other: &Self) -> Error
Produces error with appropriate message when the attribute group overlaps another instance.
This is called by certain EasyAttributeField implementations. Read more
sourceimpl Spanned for Nya
impl Spanned for Nya
sourcefn span(&self) -> Span
fn span(&self) -> Span
Returns a Span covering the complete contents of this syntax tree
node, or Span::call_site() if this node is empty. Read more
impl Copy for Nya
impl Eq for Nya
impl StructuralEq for Nya
impl StructuralPartialEq for Nya
Auto Trait Implementations
impl RefUnwindSafe for Nya
impl !Send for Nya
impl !Sync for Nya
impl Unpin for Nya
impl UnwindSafe for Nya
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into)Uses borrowed data to replace owned data, usually by cloning. Read more