pub enum DeclarationKind {
Table(Table),
Struct(Struct),
Enum(Enum),
Union(Union),
RpcService(RpcService),
}Variants§
Implementations§
source§impl DeclarationKind
impl DeclarationKind
pub fn kind_as_str(&self) -> &'static str
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for DeclarationKind
impl Send for DeclarationKind
impl Sync for DeclarationKind
impl Unpin for DeclarationKind
impl UnwindSafe for DeclarationKind
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