pub struct Fib {
pub n_fib: u16,
pub f_complex: bool,
pub f_which_tbl_stm: bool,
pub ccp: CcpCounts,
/* private fields */
}Fields§
§n_fib: u16§f_complex: bool§f_which_tbl_stm: bool§ccp: CcpCountsImplementations§
Source§impl Fib
impl Fib
pub fn parse(word_stream: &[u8]) -> Result<Fib, String>
Sourcepub fn table_slice<'a>(
&self,
table_stream: &'a [u8],
index: usize,
) -> Option<&'a [u8]>
pub fn table_slice<'a>( &self, table_stream: &'a [u8], index: usize, ) -> Option<&'a [u8]>
Returns the Table-stream slice referenced by pointer pair index,
or None when absent/empty.
pub fn fc_lcb(&self, index: usize) -> Option<(u32, u32)>
pub fn table_stream_name(&self) -> &'static str
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Fib
impl RefUnwindSafe for Fib
impl Send for Fib
impl Sync for Fib
impl Unpin for Fib
impl UnsafeUnpin for Fib
impl UnwindSafe for Fib
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> 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