pub struct BoundProgram { /* private fields */ }Expand description
Only bind constructs this, checking document bounds and step compatibility.
Implementations§
Source§impl BoundProgram
impl BoundProgram
Sourcepub fn evaluate(
&self,
sources: &BTreeMap<String, Source<'_>>,
vocabularies: &BTreeMap<String, Vec<String>>,
max_projection_bytes: u64,
) -> Vec<FallbackField>
pub fn evaluate( &self, sources: &BTreeMap<String, Source<'_>>, vocabularies: &BTreeMap<String, Vec<String>>, max_projection_bytes: u64, ) -> Vec<FallbackField>
Sources are keyed by input reference, vocabularies by declared name. Boolean conditions short-circuit in declared order; only reached reads contribute lineage. An unavailable reached source stops that field.
Trait Implementations§
Source§impl Clone for BoundProgram
impl Clone for BoundProgram
Auto Trait Implementations§
impl Freeze for BoundProgram
impl RefUnwindSafe for BoundProgram
impl Send for BoundProgram
impl Sync for BoundProgram
impl Unpin for BoundProgram
impl UnsafeUnpin for BoundProgram
impl UnwindSafe for BoundProgram
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