pub struct AttributeDef {
pub name: String,
pub type_spec: String,
pub readonly: bool,
pub set_raises: Vec<String>,
pub get_raises: Vec<String>,
}Expand description
Attribute — Spec §6.6.8.
Fields§
§name: StringAttribut-Name.
type_spec: StringIDL-Type-Spec.
readonly: booltrue = readonly.
set_raises: Vec<String>setraises-Exception-IDs (leer fuer readonly).
get_raises: Vec<String>getraises-Exception-IDs.
Trait Implementations§
Source§impl Clone for AttributeDef
impl Clone for AttributeDef
Source§fn clone(&self) -> AttributeDef
fn clone(&self) -> AttributeDef
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 AttributeDef
impl Debug for AttributeDef
Source§impl PartialEq for AttributeDef
impl PartialEq for AttributeDef
Source§fn eq(&self, other: &AttributeDef) -> bool
fn eq(&self, other: &AttributeDef) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for AttributeDef
impl StructuralPartialEq for AttributeDef
Auto Trait Implementations§
impl Freeze for AttributeDef
impl RefUnwindSafe for AttributeDef
impl Send for AttributeDef
impl Sync for AttributeDef
impl Unpin for AttributeDef
impl UnsafeUnpin for AttributeDef
impl UnwindSafe for AttributeDef
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