#[non_exhaustive]pub struct ClassItem {
pub value: String,
/* private fields */
}Expand description
An item of the class.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.value: StringThe class item’s value.
Implementations§
Trait Implementations§
impl StructuralPartialEq for ClassItem
Auto Trait Implementations§
impl Freeze for ClassItem
impl RefUnwindSafe for ClassItem
impl Send for ClassItem
impl Sync for ClassItem
impl Unpin for ClassItem
impl UnwindSafe for ClassItem
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