Type Alias binrw::file_ptr::NonZeroFilePtr16
source · pub type NonZeroFilePtr16<T> = FilePtr<NonZeroU16, T>;
Expand description
A type alias for FilePtr
with non-zero 16-bit offsets.
Aliased Type§
struct NonZeroFilePtr16<T> {
pub ptr: NonZero<u16>,
pub value: T,
}
Fields§
§ptr: NonZero<u16>
The raw offset to the value.
value: T
The pointed-to value.