pub trait LiveNodeVecApi {
Show 27 methods
// Required methods
fn insert_node_from_other(
&mut self,
from_index: usize,
insert_start: usize,
other: &[LiveNode],
) -> usize;
fn insert_node_from_self(
&mut self,
from_index: usize,
insert_start: usize,
) -> usize;
fn insert_children_from_other(
&mut self,
from_index: usize,
insert_start: usize,
other: &[LiveNode],
);
fn insert_children_from_self(
&mut self,
from_index: usize,
insert_start: usize,
);
fn write_field_nodes(&mut self, path: &[LiveId], nodes: &[LiveNode]);
fn write_field_value(&mut self, path: &[LiveId], values: LiveValue);
fn replace_or_insert_last_node_by_path(
&mut self,
start_index: usize,
path: &[LiveProp],
other: &[LiveNode],
);
fn replace_or_insert_first_node_by_path(
&mut self,
start_index: usize,
path: &[LiveProp],
other: &[LiveNode],
);
fn push_live(&mut self, v: &[LiveNode]);
fn push_str(&mut self, id: LiveId, v: &'static str);
fn push_string(&mut self, id: LiveId, v: &str);
fn push_bool(&mut self, id: LiveId, v: bool);
fn push_int64(&mut self, id: LiveId, v: i64);
fn push_float64(&mut self, id: LiveId, v: f64);
fn push_color(&mut self, id: LiveId, v: u32);
fn push_vec2(&mut self, id: LiveId, v: Vec2);
fn push_vec3(&mut self, id: LiveId, v: Vec3);
fn push_vec4(&mut self, id: LiveId, v: Vec4);
fn push_id(&mut self, id: LiveId, v: LiveId);
fn push_bare_enum(&mut self, id: LiveId, variant: LiveId);
fn open_tuple_enum(&mut self, id: LiveId, variant: LiveId);
fn open_named_enum(&mut self, id: LiveId, variant: LiveId);
fn open_object(&mut self, id: LiveId);
fn open_clone(&mut self, id: LiveId, clone: LiveId);
fn open_array(&mut self, id: LiveId);
fn root2(&mut self);
fn close(&mut self);
}Required Methods§
fn insert_node_from_other( &mut self, from_index: usize, insert_start: usize, other: &[LiveNode], ) -> usize
fn insert_node_from_self( &mut self, from_index: usize, insert_start: usize, ) -> usize
fn insert_children_from_other( &mut self, from_index: usize, insert_start: usize, other: &[LiveNode], )
fn insert_children_from_self(&mut self, from_index: usize, insert_start: usize)
fn write_field_nodes(&mut self, path: &[LiveId], nodes: &[LiveNode])
fn write_field_value(&mut self, path: &[LiveId], values: LiveValue)
fn replace_or_insert_last_node_by_path( &mut self, start_index: usize, path: &[LiveProp], other: &[LiveNode], )
fn replace_or_insert_first_node_by_path( &mut self, start_index: usize, path: &[LiveProp], other: &[LiveNode], )
fn push_live(&mut self, v: &[LiveNode])
fn push_str(&mut self, id: LiveId, v: &'static str)
fn push_string(&mut self, id: LiveId, v: &str)
fn push_bool(&mut self, id: LiveId, v: bool)
fn push_int64(&mut self, id: LiveId, v: i64)
fn push_float64(&mut self, id: LiveId, v: f64)
fn push_color(&mut self, id: LiveId, v: u32)
fn push_vec2(&mut self, id: LiveId, v: Vec2)
fn push_vec3(&mut self, id: LiveId, v: Vec3)
fn push_vec4(&mut self, id: LiveId, v: Vec4)
fn push_id(&mut self, id: LiveId, v: LiveId)
fn push_bare_enum(&mut self, id: LiveId, variant: LiveId)
fn open_tuple_enum(&mut self, id: LiveId, variant: LiveId)
fn open_named_enum(&mut self, id: LiveId, variant: LiveId)
fn open_object(&mut self, id: LiveId)
fn open_clone(&mut self, id: LiveId, clone: LiveId)
fn open_array(&mut self, id: LiveId)
fn root2(&mut self)
fn close(&mut self)
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".