pub enum LayerNode {
Layer {
index: usize,
children: Vec<LayerNode>,
},
Label {
text: String,
children: Vec<LayerNode>,
},
Additional(Vec<LayerNode>),
}Expand description
One row of the layers tree.
Variants§
Layer
A switch: the group’s index in crate::Document::layers, and the
rows nested under it.
Label
A heading with no switch.
Additional(Vec<LayerNode>)
The heading for the groups /Order leaves out; its wording is the
reader’s.
Trait Implementations§
impl StructuralPartialEq for LayerNode
Auto Trait Implementations§
impl Freeze for LayerNode
impl RefUnwindSafe for LayerNode
impl Send for LayerNode
impl Sync for LayerNode
impl Unpin for LayerNode
impl UnsafeUnpin for LayerNode
impl UnwindSafe for LayerNode
Blanket Implementations§
impl<T> AutoreleaseSafe for Twhere
T: ?Sized,
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