pub struct UnrolledRecord(/* private fields */);
Expand description
An “unrolled” record. This is internally indistinguishable from a raw bitstream
Record
, but is newtyped to enforce proper
isolation of concerns.
Implementations§
Source§impl UnrolledRecord
impl UnrolledRecord
Sourcepub fn try_string(&self, idx: usize) -> Result<String, RecordStringError>
pub fn try_string(&self, idx: usize) -> Result<String, RecordStringError>
Attempt to pull a UTF-8 string from this record’s fields.
Strings are always the last fields in a record, so only the start index is required.
Trait Implementations§
Source§impl Clone for UnrolledRecord
impl Clone for UnrolledRecord
Source§fn clone(&self) -> UnrolledRecord
fn clone(&self) -> UnrolledRecord
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations§
impl Freeze for UnrolledRecord
impl RefUnwindSafe for UnrolledRecord
impl Send for UnrolledRecord
impl Sync for UnrolledRecord
impl Unpin for UnrolledRecord
impl UnwindSafe for UnrolledRecord
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