pub struct AppliedAnnotation {
pub annotation_typeid: TypeIdentifier,
pub param_seq: Vec<AppliedAnnotationParameter>,
}Expand description
AppliedAnnotation: Instanz einer Custom-Annotation auf Typ/Member.
Fields§
§annotation_typeid: TypeIdentifierTyp der Annotation (TypeIdentifier auf die Annotation-Definition).
param_seq: Vec<AppliedAnnotationParameter>Gesetzte Parameter.
Implementations§
Source§impl AppliedAnnotation
impl AppliedAnnotation
Sourcepub fn encode_into(&self, w: &mut BufferWriter) -> Result<(), EncodeError>
pub fn encode_into(&self, w: &mut BufferWriter) -> Result<(), EncodeError>
Sourcepub fn decode_from(r: &mut BufferReader<'_>) -> Result<Self, DecodeError>
pub fn decode_from(r: &mut BufferReader<'_>) -> Result<Self, DecodeError>
Trait Implementations§
Source§impl Clone for AppliedAnnotation
impl Clone for AppliedAnnotation
Source§fn clone(&self) -> AppliedAnnotation
fn clone(&self) -> AppliedAnnotation
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 moreSource§impl Debug for AppliedAnnotation
impl Debug for AppliedAnnotation
Source§impl PartialEq for AppliedAnnotation
impl PartialEq for AppliedAnnotation
Source§fn eq(&self, other: &AppliedAnnotation) -> bool
fn eq(&self, other: &AppliedAnnotation) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for AppliedAnnotation
impl StructuralPartialEq for AppliedAnnotation
Auto Trait Implementations§
impl Freeze for AppliedAnnotation
impl RefUnwindSafe for AppliedAnnotation
impl Send for AppliedAnnotation
impl Sync for AppliedAnnotation
impl Unpin for AppliedAnnotation
impl UnsafeUnpin for AppliedAnnotation
impl UnwindSafe for AppliedAnnotation
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