pub struct Class<T>where
T: DocReference,{ /* private fields */ }
Expand description
Object-oriented class definition
Implementations§
Source§impl<T> Class<T>where
T: DocReference,
impl<T> Class<T>where
T: DocReference,
pub fn name(&self) -> &Name
pub fn declaration(&self) -> ClassDeclarationHandle
Trait Implementations§
Auto Trait Implementations§
impl<T> Freeze for Class<T>
impl<T> RefUnwindSafe for Class<T>where
T: RefUnwindSafe,
impl<T> !Send for Class<T>
impl<T> !Sync for Class<T>
impl<T> Unpin for Class<T>where
T: Unpin,
impl<T> UnwindSafe for Class<T>where
T: UnwindSafe + RefUnwindSafe,
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