Struct binrw::ReadOptions [−][src]
pub struct ReadOptions { /* fields omitted */ }
Expand description
Runtime options for
BinRead::read_options()
.
Implementations
Returns the given ReadOptions but with the endian replaced
The byte order to use when reading data.
Note that if a derived type uses one of the byte order directives, this option will be overridden by the directive.
Returns the given ReadOptions but with the offset replaced
An absolute offset added to the FilePtr::ptr
offset before reading the pointed-to value.
Trait Implementations
Returns the “default value” for a type. Read more
Auto Trait Implementations
impl RefUnwindSafe for ReadOptions
impl Send for ReadOptions
impl Sync for ReadOptions
impl Unpin for ReadOptions
impl UnwindSafe for ReadOptions
Blanket Implementations
Mutably borrows from an owned value. Read more