pub enum Attributes {
None,
Modifiable,
UnknownValue(String),
}
Expand description
The attributes of the token that the alias path is referring to.
Variants§
Implementations§
source§impl Attributes
impl Attributes
pub fn serialize<__S>(
__self: &Attributes,
__serializer: __S
) -> Result<__S::Ok, __S::Error>where
__S: Serializer,
source§impl<'de> Attributes
impl<'de> Attributes
pub fn deserialize<__D>(__deserializer: __D) -> Result<Attributes, __D::Error>where
__D: Deserializer<'de>,
Trait Implementations§
source§impl Clone for Attributes
impl Clone for Attributes
source§fn clone(&self) -> Attributes
fn clone(&self) -> Attributes
Returns a copy 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 Attributes
impl Debug for Attributes
source§impl<'de> Deserialize<'de> for Attributes
impl<'de> Deserialize<'de> for Attributes
source§fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl FromStr for Attributes
impl FromStr for Attributes
source§impl PartialEq for Attributes
impl PartialEq for Attributes
source§fn eq(&self, other: &Attributes) -> bool
fn eq(&self, other: &Attributes) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for Attributes
impl Serialize for Attributes
impl StructuralPartialEq for Attributes
Auto Trait Implementations§
impl Freeze for Attributes
impl RefUnwindSafe for Attributes
impl Send for Attributes
impl Sync for Attributes
impl Unpin for Attributes
impl UnwindSafe for Attributes
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