pub struct InterfaceDecl {
pub public: bool,
pub name: Ident,
pub generics: Vec<GenericParam>,
pub methods: Vec<MethodSig>,
}Expand description
interface Name<T> { signatures }
Fields§
§public: boolpub
name: IdentThe name.
generics: Vec<GenericParam>Type parameters.
methods: Vec<MethodSig>The method signatures.
Trait Implementations§
Source§impl Clone for InterfaceDecl
impl Clone for InterfaceDecl
Source§impl Debug for InterfaceDecl
impl Debug for InterfaceDecl
Source§impl PartialEq for InterfaceDecl
impl PartialEq for InterfaceDecl
impl StructuralPartialEq for InterfaceDecl
Auto 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