pub struct LoadedSnapshot { /* private fields */ }Expand description
Value-free availability shared by compatible rows. Overflow and named selections are lazy.
Implementations§
Source§impl LoadedSnapshot
impl LoadedSnapshot
Intern immutable geometry only. Bounded weak hints never own row values.
pub fn fully_loaded(layout: Arc<FieldLayout>) -> Self
pub fn projection<'a>( layout: Arc<FieldLayout>, fields: impl IntoIterator<Item = &'a str>, ) -> Self
pub fn layout(&self) -> &Arc<FieldLayout> ⓘ
pub fn bits(&self) -> u64
pub fn overflow(&self) -> Option<&HashSet<usize>>
pub fn selected_names(&self) -> Option<&HashSet<String>>
pub fn dynamic_property_definitions( &self, ) -> Option<&Arc<DynamicPropertyDefinitions>>
Sourcepub fn with_dynamic_property_definitions(
state: &Arc<Self>,
definitions: Arc<DynamicPropertyDefinitions>,
) -> Arc<Self> ⓘ
pub fn with_dynamic_property_definitions( state: &Arc<Self>, definitions: Arc<DynamicPropertyDefinitions>, ) -> Arc<Self> ⓘ
Result-schema metadata only. Fixed slots and actual availability never change.
Sourcepub fn with_dynamic_fields(
state: &Arc<Self>,
values: &DynamicFieldValues,
) -> Result<Arc<Self>, String>
pub fn with_dynamic_fields( state: &Arc<Self>, values: &DynamicFieldValues, ) -> Result<Arc<Self>, String>
Replace only persistent dynamic selection. Caller batches by actual shape; fixed bits, overflow and relation materialization are left untouched.
pub fn is_loaded(&self, field: &str) -> bool
pub fn with_loaded( state: &Arc<Self>, field: &str, loaded: bool, ) -> Result<Arc<Self>, String>
Trait Implementations§
Source§impl Clone for LoadedSnapshot
impl Clone for LoadedSnapshot
Source§impl Debug for LoadedSnapshot
impl Debug for LoadedSnapshot
impl Eq for LoadedSnapshot
Auto Trait Implementations§
impl Freeze for LoadedSnapshot
impl RefUnwindSafe for LoadedSnapshot
impl Send for LoadedSnapshot
impl Sync for LoadedSnapshot
impl Unpin for LoadedSnapshot
impl UnsafeUnpin for LoadedSnapshot
impl UnwindSafe for LoadedSnapshot
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