pub struct InterfaceDecl {
pub name: String,
pub requires: Vec<String>,
pub viewtype: Option<String>,
pub methods: Vec<FieldDecl>,
pub choices: Vec<ChoiceDecl>,
pub pos: Pos,
pub span: Span,
}Fields§
§name: String§requires: Vec<String>Interfaces this interface requires (requires Lockable.I, ...).
viewtype: Option<String>§methods: Vec<FieldDecl>Method signatures: name and type text.
choices: Vec<ChoiceDecl>§pos: Pos§span: SpanTrait Implementations§
Source§impl Clone for InterfaceDecl
impl Clone for InterfaceDecl
Source§fn clone(&self) -> InterfaceDecl
fn clone(&self) -> InterfaceDecl
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 moreAuto Trait Implementations§
impl Freeze for InterfaceDecl
impl RefUnwindSafe for InterfaceDecl
impl Send for InterfaceDecl
impl Sync for InterfaceDecl
impl Unpin for InterfaceDecl
impl UnsafeUnpin for InterfaceDecl
impl UnwindSafe for InterfaceDecl
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