pub struct ObjectMapping<'a> {
pub root_object: Object<'a>,
pub root_objects: IndexMap<Object<'a>, (ByteIndex, ByteIndex)>,
pub root_intervals: Lapper<ByteIndex, ObjectIndex>,
}Fields§
§root_object: Object<'a>§root_objects: IndexMap<Object<'a>, (ByteIndex, ByteIndex)>§root_intervals: Lapper<ByteIndex, ObjectIndex>Implementations§
Source§impl<'a> ObjectMapping<'a>
impl<'a> ObjectMapping<'a>
pub fn get_interpretations( &self, byte_index: ByteIndex, buffer: &InspectableFlatbuffer<'a>, ) -> Vec<Interpretation>
pub fn get_interpretations_cb( &self, byte_index: ByteIndex, buffer: &InspectableFlatbuffer<'a>, callback: impl FnMut(Interpretation), )
pub fn line_tree( &self, root_object_index: ObjectIndex, buffer: &InspectableFlatbuffer<'a>, ) -> LineTree<'a>
Auto Trait Implementations§
impl<'a> Freeze for ObjectMapping<'a>
impl<'a> RefUnwindSafe for ObjectMapping<'a>
impl<'a> Send for ObjectMapping<'a>
impl<'a> Sync for ObjectMapping<'a>
impl<'a> Unpin for ObjectMapping<'a>
impl<'a> UnwindSafe for ObjectMapping<'a>
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