pub enum Arrangement {
Containment,
Grouped(Grouping),
}Expand description
How a site is arranged — the render-side half of a site’s view:.
Variants§
Containment
Nav follows containment where audience filtering left it intact, and pages the walk cannot reach become roots of their own. What a hierarchical vault wants, and the behaviour when a site declares no view.
Grouped(Grouping)
Entries are gathered into groups. The generated index shows the groups; the nav lists entries in group order rather than by containment, because a site that declared an arrangement asked for one.
Trait Implementations§
Source§impl Clone for Arrangement
impl Clone for Arrangement
Source§fn clone(&self) -> Arrangement
fn clone(&self) -> Arrangement
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 moreSource§impl Debug for Arrangement
impl Debug for Arrangement
Source§impl Default for Arrangement
impl Default for Arrangement
Source§fn default() -> Arrangement
fn default() -> Arrangement
Returns the “default value” for a type. Read more
impl Eq for Arrangement
Source§impl PartialEq for Arrangement
impl PartialEq for Arrangement
impl StructuralPartialEq for Arrangement
Auto Trait Implementations§
impl Freeze for Arrangement
impl RefUnwindSafe for Arrangement
impl Send for Arrangement
impl Sync for Arrangement
impl Unpin for Arrangement
impl UnsafeUnpin for Arrangement
impl UnwindSafe for Arrangement
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.