pub struct FrameTables {
pub libs: Vec<String>,
pub symbols: Vec<Symbol>,
pub number_domains: Vec<Symbol>,
}Expand description
The interning side tables carried in a frame header.
Symbols, number-domain symbols, and their namespaces are interned once in these tables and referenced by index from the body, keeping the frame compact. Decoding reconstructs the same tables and validates every body index against them.
Fields§
§libs: Vec<String>Interned namespace (lib) strings, referenced by index from symbols.
symbols: Vec<Symbol>Interned symbols referenced by index from the body.
number_domains: Vec<Symbol>Interned number-domain symbols referenced by crate::BinaryTag::Number.
Trait Implementations§
Source§impl Clone for FrameTables
impl Clone for FrameTables
Source§fn clone(&self) -> FrameTables
fn clone(&self) -> FrameTables
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for FrameTables
impl Debug for FrameTables
impl Eq for FrameTables
Source§impl PartialEq for FrameTables
impl PartialEq for FrameTables
Source§fn eq(&self, other: &FrameTables) -> bool
fn eq(&self, other: &FrameTables) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for FrameTables
Auto Trait Implementations§
impl Freeze for FrameTables
impl RefUnwindSafe for FrameTables
impl Send for FrameTables
impl Sync for FrameTables
impl Unpin for FrameTables
impl UnsafeUnpin for FrameTables
impl UnwindSafe for FrameTables
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