Enum planus_types::ast::MetadataValueKind
source · pub enum MetadataValueKind {
Show 24 variants
ForceAlign(IntegerLiteral),
BitFlags,
CsharpPartial,
Private,
NativeType(StringLiteral),
NativeTypePackName(StringLiteral),
OriginalOrder,
Required,
Deprecated,
Key,
Shared,
NestedFlatbuffer(StringLiteral),
Id(IntegerLiteral),
Hash(StringLiteral),
CppType(StringLiteral),
CppPtrType(StringLiteral),
CppPtrTypeGet(StringLiteral),
CppStrType(StringLiteral),
CppStrFlexCtor,
NativeInline,
NativeDefault(StringLiteral),
Flexbuffer,
Streaming(StringLiteral),
Idempotent,
}Variants§
ForceAlign(IntegerLiteral)
BitFlags
CsharpPartial
Private
NativeType(StringLiteral)
NativeTypePackName(StringLiteral)
OriginalOrder
Required
Deprecated
Key
NestedFlatbuffer(StringLiteral)
Id(IntegerLiteral)
Hash(StringLiteral)
CppType(StringLiteral)
CppPtrType(StringLiteral)
CppPtrTypeGet(StringLiteral)
CppStrType(StringLiteral)
CppStrFlexCtor
NativeInline
NativeDefault(StringLiteral)
Flexbuffer
Streaming(StringLiteral)
Idempotent
Implementations§
source§impl MetadataValueKind
impl MetadataValueKind
pub fn is_supported(&self) -> bool
pub fn accepted_on_enums(&self) -> bool
pub fn accepted_on_structs(&self) -> bool
pub fn accepted_on_tables(&self) -> bool
pub fn accepted_on_unions(&self) -> bool
pub fn accepted_on_rpc_services(&self) -> bool
pub fn accepted_on_struct_fields(&self) -> bool
pub fn accepted_on_table_fields(&self) -> bool
pub fn accepted_on_rpc_methods(&self) -> bool
Trait Implementations§
source§impl Clone for MetadataValueKind
impl Clone for MetadataValueKind
source§fn clone(&self) -> MetadataValueKind
fn clone(&self) -> MetadataValueKind
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl RefUnwindSafe for MetadataValueKind
impl Send for MetadataValueKind
impl Sync for MetadataValueKind
impl Unpin for MetadataValueKind
impl UnwindSafe for MetadataValueKind
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