pub enum OType<'a> {
StringType(&'a str),
IntType(i32),
ObjectType(Vec<OKeyPair<'a>>),
ArrayType(Vec<OType<'a>>),
}
Expand description
The main type enum for owml, containing the type along with the corrosponding data.
Variants§
Trait Implementations§
impl<'a> StructuralPartialEq for OType<'a>
Auto Trait Implementations§
impl<'a> Freeze for OType<'a>
impl<'a> RefUnwindSafe for OType<'a>
impl<'a> Send for OType<'a>
impl<'a> Sync for OType<'a>
impl<'a> Unpin for OType<'a>
impl<'a> UnwindSafe for OType<'a>
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