pub struct CSharpInterface {
pub name: String,
pub methods: Vec<CSharpMethod>,
pub properties: Vec<CSharpProperty>,
pub extends: Vec<String>,
pub visibility: CSharpVisibility,
pub type_params: Vec<String>,
}Expand description
A C# interface declaration.
Fields§
§name: String§methods: Vec<CSharpMethod>Interface method signatures (body must be empty or default impl)
properties: Vec<CSharpProperty>Properties in the interface
extends: Vec<String>Extends other interfaces
visibility: CSharpVisibility§type_params: Vec<String>Implementations§
Trait Implementations§
Source§impl Clone for CSharpInterface
impl Clone for CSharpInterface
Source§fn clone(&self) -> CSharpInterface
fn clone(&self) -> CSharpInterface
Returns a duplicate 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 CSharpInterface
impl Debug for CSharpInterface
Source§impl PartialEq for CSharpInterface
impl PartialEq for CSharpInterface
impl StructuralPartialEq for CSharpInterface
Auto Trait Implementations§
impl Freeze for CSharpInterface
impl RefUnwindSafe for CSharpInterface
impl Send for CSharpInterface
impl Sync for CSharpInterface
impl Unpin for CSharpInterface
impl UnsafeUnpin for CSharpInterface
impl UnwindSafe for CSharpInterface
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