pub struct AnnotationDefaultAttribute {
pub value: ElementValue,
}Expand description
An AnnotationDefault payload.
Fields§
§value: ElementValueThe method’s default element value.
Implementations§
Source§impl AnnotationDefaultAttribute
impl AnnotationDefaultAttribute
Sourcepub fn decode(
reader: &mut ByteReader<'_>,
nesting_budget: usize,
) -> Result<Self, AttributeError>
pub fn decode( reader: &mut ByteReader<'_>, nesting_budget: usize, ) -> Result<Self, AttributeError>
Decode the default value under the supplied nesting budget.
Trait Implementations§
Source§impl Clone for AnnotationDefaultAttribute
impl Clone for AnnotationDefaultAttribute
Source§fn clone(&self) -> AnnotationDefaultAttribute
fn clone(&self) -> AnnotationDefaultAttribute
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 AnnotationDefaultAttribute
impl Debug for AnnotationDefaultAttribute
impl Eq for AnnotationDefaultAttribute
impl StructuralPartialEq for AnnotationDefaultAttribute
Auto Trait Implementations§
impl Freeze for AnnotationDefaultAttribute
impl RefUnwindSafe for AnnotationDefaultAttribute
impl Send for AnnotationDefaultAttribute
impl Sync for AnnotationDefaultAttribute
impl Unpin for AnnotationDefaultAttribute
impl UnsafeUnpin for AnnotationDefaultAttribute
impl UnwindSafe for AnnotationDefaultAttribute
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