Skip to main content

DynamicRefCollector

Struct DynamicRefCollector 

Source
pub struct DynamicRefCollector<'a, R: EvaluationContext> {
    pub engine: &'a Engine<R>,
    pub current_sheet: &'a str,
    pub collected: Mutex<FxHashSet<VertexId>>,
}

Fields§

§engine: &'a Engine<R>§current_sheet: &'a str§collected: Mutex<FxHashSet<VertexId>>

Implementations§

Source§

impl<'a, R: EvaluationContext> DynamicRefCollector<'a, R>

Source

pub fn new(engine: &'a Engine<R>, current_sheet: &'a str) -> Self

Trait Implementations§

Source§

impl<'a, R: EvaluationContext> EvaluationContext for DynamicRefCollector<'a, R>

Source§

fn resolve_range_view<'c>( &'c self, reference: &ReferenceType, current_sheet: &str, ) -> Result<RangeView<'c>, ExcelError>

Resolve a reference into a RangeView with clear bounds. Implementations should resolve un/partially bounded references using used-region.
Source§

fn thread_pool(&self) -> Option<&Arc<ThreadPool>>

Get access to the shared thread pool for parallel evaluation Returns None if parallel evaluation is disabled or unavailable
Source§

fn cancellation_token(&self) -> Option<Arc<AtomicBool>>

Optional cancellation token. When Some, long-running operations should periodically abort.
Source§

fn chunk_hint(&self) -> Option<usize>

Optional chunk size hint for streaming visitors.
Source§

fn locale(&self) -> Locale

Locale provider: invariant by default
Source§

fn clock(&self) -> &dyn ClockProvider

Clock provider for volatile date/time builtins. Read more
Source§

fn timezone(&self) -> &TimeZoneSpec

Timezone spec for date/time functions. Read more
Source§

fn volatile_level(&self) -> VolatileLevel

Volatile granularity. Default Always for backwards compatibility.
Source§

fn workbook_seed(&self) -> u64

A stable workbook seed for RNG composition.
Source§

fn recalc_epoch(&self) -> u64

Recalc epoch that increments on each full recalc when appropriate.
Source§

fn used_rows_for_columns( &self, _sheet: &str, _start_col: u32, _end_col: u32, ) -> Option<(u32, u32)>

Optional: Return the min/max used rows for a set of columns on a sheet. When None, the backend does not provide used-region hints.
Source§

fn used_cols_for_rows( &self, _sheet: &str, _start_row: u32, _end_row: u32, ) -> Option<(u32, u32)>

Optional: Return the min/max used columns for a set of rows on a sheet. When None, the backend does not provide used-region hints.
Source§

fn sheet_bounds(&self, _sheet: &str) -> Option<(u32, u32)>

Optional: Physical sheet bounds (max rows, max cols) if known.
Source§

fn data_snapshot_id(&self) -> u64

Monotonic identifier for the current data snapshot; increments on mutation.
Source§

fn backend_caps(&self) -> BackendCaps

Backend capability advertisement for IO/adapters.
Source§

fn date_system(&self) -> DateSystem

Workbook date system selection (1900 vs 1904). Defaults to 1900 for compatibility.
Source§

fn build_criteria_mask( &self, _view: &RangeView<'_>, _col_in_view: usize, _pred: &CriteriaPredicate, ) -> Option<Arc<BooleanArray>>

Optional: Build or fetch a cached boolean mask for a criterion over an Arrow-backed view. Implementations should return None if not supported.
Source§

impl<'a, R: EvaluationContext> FunctionProvider for DynamicRefCollector<'a, R>

Source§

fn get_function(&self, ns: &str, name: &str) -> Option<Arc<dyn Function>>

Source§

impl<'a, R: EvaluationContext> NamedRangeResolver for DynamicRefCollector<'a, R>

Source§

impl<'a, R: EvaluationContext> RangeResolver for DynamicRefCollector<'a, R>

Source§

fn resolve_range_reference( &self, sheet: Option<&str>, sr: Option<u32>, sc: Option<u32>, er: Option<u32>, ec: Option<u32>, ) -> Result<Box<dyn Range>, ExcelError>

Source§

impl<'a, R: EvaluationContext> ReferenceResolver for DynamicRefCollector<'a, R>

Source§

impl<'a, R: EvaluationContext> Resolver for DynamicRefCollector<'a, R>

Source§

impl<'a, R: EvaluationContext> SourceResolver for DynamicRefCollector<'a, R>

Source§

impl<'a, R: EvaluationContext> TableResolver for DynamicRefCollector<'a, R>

Auto Trait Implementations§

§

impl<'a, R> !Freeze for DynamicRefCollector<'a, R>

§

impl<'a, R> !RefUnwindSafe for DynamicRefCollector<'a, R>

§

impl<'a, R> Send for DynamicRefCollector<'a, R>

§

impl<'a, R> Sync for DynamicRefCollector<'a, R>

§

impl<'a, R> Unpin for DynamicRefCollector<'a, R>

§

impl<'a, R> UnsafeUnpin for DynamicRefCollector<'a, R>

§

impl<'a, R> !UnwindSafe for DynamicRefCollector<'a, R>

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> IntoEither for T

Source§

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 more
Source§

fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
where F: FnOnce(&Self) -> bool,

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
Source§

impl<T> Pointable for T

Source§

const ALIGN: usize

The alignment of pointer.
Source§

type Init = T

The type for initializers.
Source§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
Source§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
Source§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
Source§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
Source§

impl<V, T> VZip<V> for T
where V: MultiLane<T>,

Source§

fn vzip(self) -> V