pub struct IrUnion {
pub members: Vec<IrTypeExpr>,
pub nullable: bool,
}Fields§
§members: Vec<IrTypeExpr>§nullable: boolWhether the union also includes null (e.g., anyOf: [string, number, null]).
Trait Implementations§
Auto Trait Implementations§
impl Freeze for IrUnion
impl RefUnwindSafe for IrUnion
impl Send for IrUnion
impl Sync for IrUnion
impl Unpin for IrUnion
impl UnsafeUnpin for IrUnion
impl UnwindSafe for IrUnion
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