pub struct RdfFusionContextView { /* private fields */ }
Expand description
Represents a view of an RDF Fusion context.
This view can be passed into other parts of the engine that require information on the current configuration of the engine but do not want to directly depend on the central context struct.
Implementations§
Source§impl RdfFusionContextView
impl RdfFusionContextView
Sourcepub fn new(
functions: RdfFusionFunctionRegistryRef,
encodings: RdfFusionEncodings,
storage_encoding: QuadStorageEncoding,
) -> Self
pub fn new( functions: RdfFusionFunctionRegistryRef, encodings: RdfFusionEncodings, storage_encoding: QuadStorageEncoding, ) -> Self
Creates a new RdfFusionContextView.
Sourcepub fn functions(&self) -> &RdfFusionFunctionRegistryRef
pub fn functions(&self) -> &RdfFusionFunctionRegistryRef
Provides a reference to the used RdfFusionFunctionRegistry.
Sourcepub fn encodings(&self) -> &RdfFusionEncodings
pub fn encodings(&self) -> &RdfFusionEncodings
Provides a reference to the used RdfFusionEncodings.
Sourcepub fn storage_encoding(&self) -> &QuadStorageEncoding
pub fn storage_encoding(&self) -> &QuadStorageEncoding
Provides a reference to the used QuadStorageEncoding.
Trait Implementations§
Source§impl Clone for RdfFusionContextView
impl Clone for RdfFusionContextView
Source§fn clone(&self) -> RdfFusionContextView
fn clone(&self) -> RdfFusionContextView
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations§
impl Freeze for RdfFusionContextView
impl !RefUnwindSafe for RdfFusionContextView
impl Send for RdfFusionContextView
impl Sync for RdfFusionContextView
impl Unpin for RdfFusionContextView
impl !UnwindSafe for RdfFusionContextView
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
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 moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
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