pub struct MatlabClassdef {
pub name: String,
pub superclasses: Vec<String>,
pub properties: Vec<MatlabProperty>,
pub methods: Vec<MatlabFunction>,
pub events: Vec<String>,
pub enumerations: Vec<(String, Vec<MatlabExpr>)>,
}Expand description
MATLAB classdef definition.
Fields§
§name: StringClass name
superclasses: Vec<String>Superclass names
properties: Vec<MatlabProperty>Properties blocks (grouped by access level)
methods: Vec<MatlabFunction>Methods
events: Vec<String>Events
enumerations: Vec<(String, Vec<MatlabExpr>)>Enumeration members (for enumeration classes)
Implementations§
Trait Implementations§
Source§impl Clone for MatlabClassdef
impl Clone for MatlabClassdef
Source§fn clone(&self) -> MatlabClassdef
fn clone(&self) -> MatlabClassdef
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 MatlabClassdef
impl Debug for MatlabClassdef
Source§impl PartialEq for MatlabClassdef
impl PartialEq for MatlabClassdef
impl StructuralPartialEq for MatlabClassdef
Auto Trait Implementations§
impl Freeze for MatlabClassdef
impl RefUnwindSafe for MatlabClassdef
impl Send for MatlabClassdef
impl Sync for MatlabClassdef
impl Unpin for MatlabClassdef
impl UnsafeUnpin for MatlabClassdef
impl UnwindSafe for MatlabClassdef
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