struct FstRef<'f> {
meta: &'f Meta,
data: &'f [u8],
}
Fields§
§meta: &'f Meta
§data: &'f [u8]
Implementations§
Source§impl<'f> FstRef<'f>
impl<'f> FstRef<'f>
fn get(&self, key: &[u8]) -> Option<Output>
fn contains_key(&self, key: &[u8]) -> bool
fn get_key_into(&self, value: u64, key: &mut Vec<u8>) -> bool
fn len(&self) -> usize
fn is_empty(&self) -> bool
fn size(&self) -> usize
fn fst_type(&self) -> FstType
fn root_addr(&self) -> CompiledAddr
fn root(&self) -> Node<'f>
fn node(&self, addr: CompiledAddr) -> Node<'f>
fn to_vec(&self) -> Vec<u8> ⓘ
fn as_bytes(&self) -> &'f [u8] ⓘ
fn empty_final_output(&self) -> Option<Output>
Auto Trait Implementations§
impl<'f> Freeze for FstRef<'f>
impl<'f> RefUnwindSafe for FstRef<'f>
impl<'f> Send for FstRef<'f>
impl<'f> Sync for FstRef<'f>
impl<'f> Unpin for FstRef<'f>
impl<'f> UnwindSafe for FstRef<'f>
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