pub struct RecordFieldSchemaIr { /* private fields */ }Implementations§
Source§impl RecordFieldSchemaIr
impl RecordFieldSchemaIr
pub fn new( schema: SchemaNodeIrId, optional: bool, binding_style: Option<BindingStyleIr>, field_codegen: FieldCodegenIr, ) -> Self
pub fn schema(&self) -> SchemaNodeIrId
pub fn optional(&self) -> bool
pub fn binding_style(&self) -> Option<BindingStyleIr>
pub fn field_codegen(&self) -> &FieldCodegenIr
pub fn field_codegen_mut(&mut self) -> &mut FieldCodegenIr
Trait Implementations§
Source§impl Clone for RecordFieldSchemaIr
impl Clone for RecordFieldSchemaIr
Source§fn clone(&self) -> RecordFieldSchemaIr
fn clone(&self) -> RecordFieldSchemaIr
Returns a duplicate 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 moreSource§impl Debug for RecordFieldSchemaIr
impl Debug for RecordFieldSchemaIr
Source§impl PartialEq for RecordFieldSchemaIr
impl PartialEq for RecordFieldSchemaIr
impl StructuralPartialEq for RecordFieldSchemaIr
Auto Trait Implementations§
impl Freeze for RecordFieldSchemaIr
impl RefUnwindSafe for RecordFieldSchemaIr
impl Send for RecordFieldSchemaIr
impl Sync for RecordFieldSchemaIr
impl Unpin for RecordFieldSchemaIr
impl UnsafeUnpin for RecordFieldSchemaIr
impl UnwindSafe for RecordFieldSchemaIr
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