pub enum SchemaTypeDef {
Named(String),
Generic {
name: String,
args: Vec<SchemaTypeDef>,
},
Fn {
params: Vec<SchemaTypeDef>,
ret: Box<SchemaTypeDef>,
},
}Expand description
Wire mirror of brink_ir::SchemaTypeShape.
Variants§
Trait Implementations§
Source§impl Clone for SchemaTypeDef
impl Clone for SchemaTypeDef
Source§fn clone(&self) -> SchemaTypeDef
fn clone(&self) -> SchemaTypeDef
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 moreSource§impl Debug for SchemaTypeDef
impl Debug for SchemaTypeDef
impl Eq for SchemaTypeDef
Source§impl PartialEq for SchemaTypeDef
impl PartialEq for SchemaTypeDef
impl StructuralPartialEq for SchemaTypeDef
Auto Trait Implementations§
impl Freeze for SchemaTypeDef
impl RefUnwindSafe for SchemaTypeDef
impl Send for SchemaTypeDef
impl Sync for SchemaTypeDef
impl Unpin for SchemaTypeDef
impl UnsafeUnpin for SchemaTypeDef
impl UnwindSafe for SchemaTypeDef
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