Struct lemmy_help::Class
source · [−]pub struct Class {
pub name: String,
pub desc: Option<String>,
pub fields: Vec<Field>,
pub see: See,
pub prefix: Prefix,
}
Fields
name: String
desc: Option<String>
fields: Vec<Field>
see: See
prefix: Prefix
Implementations
sourceimpl Class
impl Class
pub fn rename_tag(&mut self, tag: String)
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Class
impl Send for Class
impl Sync for Class
impl Unpin for Class
impl UnwindSafe for Class
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more