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 Freeze for DeclarationKind
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