pub enum LayoutStrategy {
Flat,
Lattice {
width: usize,
group_by_row: bool,
},
Direct,
Preserve,
Modular,
}Expand description
Strategies for mapping a logical graph to a filesystem hierarchy.
Variants§
Flat
Everything in one directory (flat).
Lattice
Spatial organization for lattice-like graphs (rows/cols).
Direct
Direct mapping (trusts existing paths or uses heuristics).
Preserve
Preserves existing directory structure (Identity).
Modular
Modular clustering (auto-detected modules).
Trait Implementations§
Source§impl Clone for LayoutStrategy
impl Clone for LayoutStrategy
Source§fn clone(&self) -> LayoutStrategy
fn clone(&self) -> LayoutStrategy
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 moreSource§impl Debug for LayoutStrategy
impl Debug for LayoutStrategy
Source§impl Default for LayoutStrategy
impl Default for LayoutStrategy
Source§fn default() -> LayoutStrategy
fn default() -> LayoutStrategy
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for LayoutStrategy
impl<'de> Deserialize<'de> for LayoutStrategy
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Hash for LayoutStrategy
impl Hash for LayoutStrategy
Source§impl PartialEq for LayoutStrategy
impl PartialEq for LayoutStrategy
Source§impl Serialize for LayoutStrategy
impl Serialize for LayoutStrategy
impl Copy for LayoutStrategy
impl Eq for LayoutStrategy
impl StructuralPartialEq for LayoutStrategy
Auto Trait Implementations§
impl Freeze for LayoutStrategy
impl RefUnwindSafe for LayoutStrategy
impl Send for LayoutStrategy
impl Sync for LayoutStrategy
impl Unpin for LayoutStrategy
impl UnsafeUnpin for LayoutStrategy
impl UnwindSafe for LayoutStrategy
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.