Struct concordium_std::AttributeTag [−][src]
#[repr(transparent)]pub struct AttributeTag(pub u8);
Expand description
Tag of an attribute. See the module attributes for the currently supported attributes.
Trait Implementations
impl Clone for AttributeTag
[src]
impl Clone for AttributeTag
[src]pub fn clone(&self) -> AttributeTag
[src]
pub fn clone(&self) -> AttributeTag
[src]Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]Performs copy-assignment from source
. Read more
impl Debug for AttributeTag
[src]
impl Debug for AttributeTag
[src]impl Deserial for AttributeTag
[src]
impl Deserial for AttributeTag
[src]pub fn deserial<R>(source: &mut R) -> Result<AttributeTag, ParseError> where
R: Read,
[src]
pub fn deserial<R>(source: &mut R) -> Result<AttributeTag, ParseError> where
R: Read,
[src]Attempt to read a structure from a given source, failing if an error occurs during deserialization or reading. Read more
impl Ord for AttributeTag
[src]
impl Ord for AttributeTag
[src]impl PartialEq<AttributeTag> for AttributeTag
[src]
impl PartialEq<AttributeTag> for AttributeTag
[src]pub fn eq(&self, other: &AttributeTag) -> bool
[src]
pub fn eq(&self, other: &AttributeTag) -> bool
[src]This method tests for self
and other
values to be equal, and is used
by ==
. Read more
pub fn ne(&self, other: &AttributeTag) -> bool
[src]
pub fn ne(&self, other: &AttributeTag) -> bool
[src]This method tests for !=
.
impl PartialOrd<AttributeTag> for AttributeTag
[src]
impl PartialOrd<AttributeTag> for AttributeTag
[src]pub fn partial_cmp(&self, other: &AttributeTag) -> Option<Ordering>
[src]
pub fn partial_cmp(&self, other: &AttributeTag) -> Option<Ordering>
[src]This method returns an ordering between self
and other
values if one exists. Read more
#[must_use]fn lt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]fn lt(&self, other: &Rhs) -> bool
1.0.0[src]This method tests less than (for self
and other
) and is used by the <
operator. Read more
#[must_use]fn le(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]fn le(&self, other: &Rhs) -> bool
1.0.0[src]This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
impl Serial for AttributeTag
[src]
impl Serial for AttributeTag
[src]impl<'a> TryFrom<&'a str> for AttributeTag
[src]
impl<'a> TryFrom<&'a str> for AttributeTag
[src]type Error = ParseError
type Error = ParseError
The type returned in the event of a conversion error.
pub fn try_from(
v: &'a str
) -> Result<AttributeTag, <AttributeTag as TryFrom<&'a str>>::Error>
[src]
pub fn try_from(
v: &'a str
) -> Result<AttributeTag, <AttributeTag as TryFrom<&'a str>>::Error>
[src]Performs the conversion.
impl Copy for AttributeTag
[src]
impl Eq for AttributeTag
[src]
impl StructuralEq for AttributeTag
[src]
impl StructuralPartialEq for AttributeTag
[src]
Auto Trait Implementations
impl RefUnwindSafe for AttributeTag
impl Send for AttributeTag
impl Sync for AttributeTag
impl Unpin for AttributeTag
impl UnwindSafe for AttributeTag
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more
impl<T> ToOwned for T where
T: Clone,
[src]
impl<T> ToOwned for T where
T: Clone,
[src]type Owned = T
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn to_owned(&self) -> T
[src]Creates owned data from borrowed data, usually by cloning. Read more
pub fn clone_into(&self, target: &mut T)
[src]
pub fn clone_into(&self, target: &mut T)
[src]🔬 This is a nightly-only experimental API. (toowned_clone_into
)
recently added
Uses borrowed data to replace owned data, usually by cloning. Read more
impl<A> Serialize for A where
A: Deserial + Serial,
[src]
A: Deserial + Serial,