Enum AttrStyle
pub enum AttrStyle
Distinguishes between attributes that decorate an item and attributes that are contained within an item.
Outer attributes
#[repr(transparent)]/// # Example/** Please file an issue */
Inner attributes
#![feature(proc_macro)]//! # Example/*! Please file an issue */
Variants
-
Outer -
Inner(Not)
Trait Implementations
impl Clone for AttrStyle
fn clone(&self) -> Self
impl Copy for AttrStyle
Auto Trait Implementations
impl !Send for AttrStyle
impl !Sync for AttrStyle
impl Freeze for AttrStyle
impl RefUnwindSafe for AttrStyle
impl Unpin for AttrStyle
impl UnsafeUnpin for AttrStyle
impl UnwindSafe for AttrStyle
Blanket Implementations
impl<T> Any for AttrStyle
where
T: 'static + ?Sized,
fn type_id(&self) -> TypeId
impl<T> Borrow<T> for AttrStyle
where
T: ?Sized,
fn borrow(&self) -> &T
impl<T> BorrowMut<T> for AttrStyle
where
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
impl<T> CloneToUninit for AttrStyle
where
T: Clone,
unsafe fn clone_to_uninit(&self, dest: *mut u8)
impl<T> From<T> for AttrStyle
fn from(t: T) -> TReturns the argument unchanged.
impl<T> ToOwned for AttrStyle
where
T: Clone,
type Owned = T;fn to_owned(&self) -> Tfn clone_into(&self, target: &mut T)
impl<T, U> Into<U> for AttrStyle
where
U: From<T>,
fn into(self) -> UCalls
U::from(self).That is, this conversion is whatever the implementation of
[From]<T> for Uchooses to do.
impl<T, U> TryFrom<U> for AttrStyle
where
U: Into<T>,
type Error = never;fn try_from(value: U) -> Result<T, never>
impl<T, U> TryInto<U> for AttrStyle
where
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error;fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>