pub struct Stratified<T, R> {
pub rules: Node<Vec<StratifyRule<R>>>,
pub branches: BTreeMap<String, Node<T>>,
}Expand description
Stratified data container.
Fields§
§rules: Node<Vec<StratifyRule<R>>>rules field for rules.
branches: BTreeMap<String, Node<T>>branches field for branches.
Trait Implementations§
Source§impl<T: Clone, R: Clone> Clone for Stratified<T, R>
impl<T: Clone, R: Clone> Clone for Stratified<T, R>
Source§fn clone(&self) -> Stratified<T, R>
fn clone(&self) -> Stratified<T, R>
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<T, R> Freeze for Stratified<T, R>
impl<T, R> !RefUnwindSafe for Stratified<T, R>
impl<T, R> !Send for Stratified<T, R>
impl<T, R> !Sync for Stratified<T, R>
impl<T, R> Unpin for Stratified<T, R>where
R: Unpin,
impl<T, R> UnsafeUnpin for Stratified<T, R>
impl<T, R> !UnwindSafe for Stratified<T, R>
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