Skip to main content

ion_rs/types/
null.rs

1use crate::IonType;
2
3/// An in-memory representation of a typed `null`.
4// This type allows us to define custom behavior for `null` via trait implementations.
5// For an example, see the `WriteAsIonValue` trait.
6#[derive(Debug, PartialEq, Copy, Clone)]
7pub struct Null(pub IonType);