pub enum NlFormat {
Ascii,
Binary,
}Expand description
Encoding of the body that follows the (always-ASCII) 10-line header.
Variants§
Ascii
ASCII g header, every token on its own line.
Binary
Binary b header, opcodes as single bytes, ints as 4-byte LE, doubles
as 8-byte LE, integer-valued numeric constants emitted as s (short)
or l (long) when they fit.
Trait Implementations§
impl Copy for NlFormat
impl Eq for NlFormat
impl StructuralPartialEq for NlFormat
Auto Trait Implementations§
impl Freeze for NlFormat
impl RefUnwindSafe for NlFormat
impl Send for NlFormat
impl Sync for NlFormat
impl Unpin for NlFormat
impl UnsafeUnpin for NlFormat
impl UnwindSafe for NlFormat
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more