pub struct MarkerAttribute;Expand description
A marker attribute (Synthetic or Deprecated), whose payload must be empty.
Implementations§
Source§impl MarkerAttribute
impl MarkerAttribute
Sourcepub fn decode(reader: &mut ByteReader<'_>) -> Result<Self, AttributeError>
pub fn decode(reader: &mut ByteReader<'_>) -> Result<Self, AttributeError>
Accept only an empty bounded payload.
Trait Implementations§
Source§impl Clone for MarkerAttribute
impl Clone for MarkerAttribute
Source§fn clone(&self) -> MarkerAttribute
fn clone(&self) -> MarkerAttribute
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for MarkerAttribute
Source§impl Debug for MarkerAttribute
impl Debug for MarkerAttribute
Source§impl Default for MarkerAttribute
impl Default for MarkerAttribute
Source§fn default() -> MarkerAttribute
fn default() -> MarkerAttribute
Returns the “default value” for a type. Read more
impl Eq for MarkerAttribute
Source§impl PartialEq for MarkerAttribute
impl PartialEq for MarkerAttribute
impl StructuralPartialEq for MarkerAttribute
Auto Trait Implementations§
impl Freeze for MarkerAttribute
impl RefUnwindSafe for MarkerAttribute
impl Send for MarkerAttribute
impl Sync for MarkerAttribute
impl Unpin for MarkerAttribute
impl UnsafeUnpin for MarkerAttribute
impl UnwindSafe for MarkerAttribute
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