pub struct Node {
pub class: Tag,
pub name: String,
pub visible: bool,
pub locked: bool,
pub opacity: f64,
pub blend: Blend,
pub kind: Kind,
pub mask: Option<Path>,
pub pixel_mask: Option<Image>,
pub children: Vec<Node>,
}Fields§
§class: Tag§name: String§visible: bool§locked: bool§opacity: f64§blend: Blend§kind: Kind§mask: Option<Path>Vector mask in document pixels: the node shows only inside it (nonzero fill).
pixel_mask: Option<Image>Pixel mask: grey levels (white shows the node, black hides it); outside it the node is hidden.
children: Vec<Node>Bottom to top.
Trait Implementations§
impl StructuralPartialEq for Node
Auto Trait Implementations§
impl Forget for Node
impl Freeze for Node
impl Move for Node
impl RefUnwindSafe for Node
impl Send for Node
impl Sync for Node
impl Unpin for Node
impl UnsafeUnpin for Node
impl UnwindSafe for Node
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