pub enum GenericCategory {
Schema,
Operation,
Service,
Generic,
}Expand description
Categories renderers know how to format specially.
Cross-family abstraction for layout and template selection in renderer crates.
Variants§
Schema
Schema or message type pages.
Operation
RPC or HTTP operation pages.
Service
Service definition pages.
Generic
Fallback for categories without specialized rendering.
Trait Implementations§
Source§impl Clone for GenericCategory
impl Clone for GenericCategory
Source§fn clone(&self) -> GenericCategory
fn clone(&self) -> GenericCategory
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for GenericCategory
Source§impl Debug for GenericCategory
impl Debug for GenericCategory
impl Eq for GenericCategory
Source§impl Hash for GenericCategory
impl Hash for GenericCategory
Source§impl PartialEq for GenericCategory
impl PartialEq for GenericCategory
Source§fn eq(&self, other: &GenericCategory) -> bool
fn eq(&self, other: &GenericCategory) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for GenericCategory
Auto Trait Implementations§
impl Freeze for GenericCategory
impl RefUnwindSafe for GenericCategory
impl Send for GenericCategory
impl Sync for GenericCategory
impl Unpin for GenericCategory
impl UnsafeUnpin for GenericCategory
impl UnwindSafe for GenericCategory
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