pub enum GraphLayout {
PerGraph,
Quad,
}Expand description
How a build stores the named graphs (the default graph is unaffected).
Variants§
PerGraph
One permutation index per graph, in the NAMED_GRAPHS section (kind 5): the graph IRI as text, then a full container per graph. What every rete before 0.4 writes and reads.
Quad
The quad index (kind 10, SPEC.md §6.5): every named-graph quad
stored once, the graph as a fourth column of graph-leading permutations
in shared tiles, behind a sorted graph directory; graph names become
dictionary terms. Far smaller and randomly addressable when graphs are
many and small. Readers before 0.4.0 refuse these files (loudly — see
docs/compatibility.md). Needs the 3- or 6-permutation set.
Trait Implementations§
Source§impl Clone for GraphLayout
impl Clone for GraphLayout
Source§fn clone(&self) -> GraphLayout
fn clone(&self) -> GraphLayout
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for GraphLayout
Source§impl Debug for GraphLayout
impl Debug for GraphLayout
Source§impl Default for GraphLayout
impl Default for GraphLayout
Source§fn default() -> GraphLayout
fn default() -> GraphLayout
Returns the “default value” for a type. Read more
impl Eq for GraphLayout
Source§impl PartialEq for GraphLayout
impl PartialEq for GraphLayout
impl StructuralPartialEq for GraphLayout
Auto Trait Implementations§
impl Freeze for GraphLayout
impl RefUnwindSafe for GraphLayout
impl Send for GraphLayout
impl Sync for GraphLayout
impl Unpin for GraphLayout
impl UnsafeUnpin for GraphLayout
impl UnwindSafe for GraphLayout
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