pub struct ClassInfo<'a> {
pub class_name: &'a [u8],
pub class_id: ClassId,
}
Expand description
Information on a Class. This struct is used for sharing Class information outside this crate.
Fields§
§class_name: &'a [u8]
The name of the class.
class_id: ClassId
The class identifier.
Auto Trait Implementations§
impl<'a> Freeze for ClassInfo<'a>
impl<'a> RefUnwindSafe for ClassInfo<'a>
impl<'a> Send for ClassInfo<'a>
impl<'a> Sync for ClassInfo<'a>
impl<'a> Unpin for ClassInfo<'a>
impl<'a> UnwindSafe for ClassInfo<'a>
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