pub struct Node {
pub name: String,
pub properties: Vec<Property>,
pub children: Vec<Node>,
}Expand description
A node in the ValueTree (has a name, properties, and child nodes).
Fields§
§name: String§properties: Vec<Property>§children: Vec<Node>Implementations§
Source§impl Node
impl Node
Sourcepub fn write_to_stream(&self, out: &mut Vec<u8>)
pub fn write_to_stream(&self, out: &mut Vec<u8>)
Encode this node using JUCE’s ValueTree::writeToStream format.
This writes the tree body only. Use
crate::change_frame::encode_full_sync to prepend the full-sync
change type, then wrap that payload in a transport packet if needed.
Trait Implementations§
impl StructuralPartialEq for Node
Auto Trait Implementations§
impl Freeze 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