pub struct Class {Show 18 fields
pub name: String,
pub template_parameters: Vec<String>,
pub is_template: bool,
pub members: Vec<Variable>,
pub methods: Vec<Function>,
pub base_classes: Vec<String>,
pub location: SourceLocation,
pub has_destructor: bool,
pub is_interface: bool,
pub has_virtual_destructor: bool,
pub destructor_is_defaulted: bool,
pub all_methods_pure_virtual: bool,
pub has_non_virtual_methods: bool,
pub safety_annotation: Option<SafetyMode>,
pub has_copy_constructor: bool,
pub has_copy_assignment: bool,
pub copy_constructor_deleted: bool,
pub copy_assignment_deleted: bool,
}Fields§
§name: String§template_parameters: Vec<String>§is_template: bool§members: Vec<Variable>§methods: Vec<Function>§base_classes: Vec<String>§location: SourceLocation§has_destructor: bool§is_interface: bool§has_virtual_destructor: bool§destructor_is_defaulted: bool§all_methods_pure_virtual: bool§has_non_virtual_methods: bool§safety_annotation: Option<SafetyMode>§has_copy_constructor: bool§has_copy_assignment: bool§copy_constructor_deleted: bool§copy_assignment_deleted: boolTrait Implementations§
Auto Trait Implementations§
impl Freeze for Class
impl RefUnwindSafe for Class
impl Send for Class
impl Sync for Class
impl Unpin for Class
impl UnwindSafe for Class
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