[−][src]Struct tamasfe_macro_utils::attr::AttrParams
Implementations
impl AttrParams
[src]
pub fn is_empty(&self) -> bool
[src]
pub fn len(&self) -> usize
[src]
pub fn iter(&self) -> impl Iterator<Item = &AttrParam>
[src]
pub fn no_duplicates(&self)
[src]
Shows compile errors for duplicate names.
pub fn no_duplicates_by<F: Fn(&Ident) -> bool>(&self, f: F)
[src]
f should return true if the ident is not allowed to be a duplicate.
pub fn retain_known<F: Fn(&Ident) -> bool>(&self, f: F)
[src]
pub fn has_named(&self) -> bool
[src]
pub fn no_unnamed(&self)
[src]
pub fn no_names_mixed(&self)
[src]
Shows compile errors if named parameters are mixed with unnamed ones.
Trait Implementations
impl Clone for AttrParams
[src]
fn clone(&self) -> AttrParams
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for AttrParams
[src]
impl IntoIterator for AttrParams
[src]
type Item = AttrParam
The type of the elements being iterated over.
type IntoIter = IntoIter<AttrParam>
Which kind of iterator are we turning this into?
fn into_iter(self) -> Self::IntoIter
[src]
impl Parse for AttrParams
[src]
fn parse(input: ParseStream<'_>) -> Result<Self>
[src]
impl ToTokens for AttrParams
[src]
fn to_tokens(&self, tokens: &mut TokenStream)
[src]
fn to_token_stream(&self) -> TokenStream
[src]
fn into_token_stream(self) -> TokenStream
[src]
Auto Trait Implementations
impl RefUnwindSafe for AttrParams
impl !Send for AttrParams
impl !Sync for AttrParams
impl Unpin for AttrParams
impl UnwindSafe for AttrParams
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<I> IntoIterator for I where
I: Iterator,
[src]
I: Iterator,
type Item = <I as Iterator>::Item
The type of the elements being iterated over.
type IntoIter = I
Which kind of iterator are we turning this into?
fn into_iter(self) -> I
[src]
impl<T> Spanned for T where
T: Spanned + ?Sized,
[src]
T: Spanned + ?Sized,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,