pub struct ParsedInterface {
pub name: String,
pub inherits_from: Option<String>,
pub attributes: Vec<Attribute>,
}
Expand description
The parsed WebIDL definitions converted from the raw spec.
Fields§
§name: String
§inherits_from: Option<String>
§attributes: Vec<Attribute>
Trait Implementations§
Source§impl Clone for ParsedInterface
impl Clone for ParsedInterface
Source§fn clone(&self) -> ParsedInterface
fn clone(&self) -> ParsedInterface
Returns a copy of the value. Read more
1.0.0 · 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 ParsedInterface
impl Debug for ParsedInterface
Source§impl<'de> Deserialize<'de> for ParsedInterface
impl<'de> Deserialize<'de> for ParsedInterface
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for ParsedInterface
impl RefUnwindSafe for ParsedInterface
impl Send for ParsedInterface
impl Sync for ParsedInterface
impl Unpin for ParsedInterface
impl UnwindSafe for ParsedInterface
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