Enum symbolic::debuginfo::dwarf::Endian [−]
pub enum Endian {
Little,
Big,
}
Expand description
Byte order that is selectable at runtime.
Variants
Little endian byte order.
Big endian byte order.
Trait Implementations
impl Clone for RunTimeEndian
impl Clone for RunTimeEndian
pub fn clone(&self) -> RunTimeEndian
pub fn clone(&self) -> RunTimeEndian
Returns a copy of the value. Read more
Performs copy-assignment from source
. Read more
impl Debug for RunTimeEndian
impl Debug for RunTimeEndian
impl Default for RunTimeEndian
impl Default for RunTimeEndian
pub fn default() -> RunTimeEndian
pub fn default() -> RunTimeEndian
Returns the “default value” for a type. Read more
impl Endianity for RunTimeEndian
impl Endianity for RunTimeEndian
pub fn is_big_endian(self) -> bool
pub fn is_big_endian(self) -> bool
Return true for big endian byte order.
fn is_little_endian(self) -> bool
fn is_little_endian(self) -> bool
Return true for little endian byte order.
impl Hash for RunTimeEndian
impl Hash for RunTimeEndian
impl PartialEq<RunTimeEndian> for RunTimeEndian
impl PartialEq<RunTimeEndian> for RunTimeEndian
impl Copy for RunTimeEndian
impl Eq for RunTimeEndian
impl StructuralEq for RunTimeEndian
impl StructuralPartialEq for RunTimeEndian
Auto Trait Implementations
impl RefUnwindSafe for RunTimeEndian
impl Send for RunTimeEndian
impl Sync for RunTimeEndian
impl Unpin for RunTimeEndian
impl UnwindSafe for RunTimeEndian
Blanket Implementations
Mutably borrows from an owned value. Read more
impl<I, T> ExtractContext<I, ()> for T
impl<I, T> ExtractContext<I, ()> for T
pub fn extract_context(self, _original_input: I)
pub fn extract_context(self, _original_input: I)
Given the context attached to a nom error, and given the original input to the nom parser, extract more the useful context information. Read more
pub fn recreate_context(_original_input: I, tail: I) -> I
pub fn recreate_context(_original_input: I, tail: I) -> I
Given the original input, as well as the context reported by nom, recreate a context in the original string where the error occurred. Read more