Struct virtual_view::Transaction
[−]
[src]
pub struct Transaction { /* fields omitted */ }
Methods
impl Transaction
[src]
fn new() -> Self
[src]
fn mount(&mut self, id: &str, view: RawView)
[src]
fn unmount(&mut self, id: &str, view: RawView)
[src]
fn insert(&mut self, id: &str, view_id: &str, index: usize, view: RawView)
[src]
fn replace(&mut self, id: &str, prev_view: RawView, next_view: RawView)
[src]
fn order(&mut self, id: &str, order: Order)
[src]
fn props(
&mut self,
id: &str,
prev_props: Map<String, Value>,
diff_props: Map<String, Value>
)
[src]
&mut self,
id: &str,
prev_props: Map<String, Value>,
diff_props: Map<String, Value>
)
fn remove(&mut self, id: &str, view: RawView)
[src]
fn add_event(&mut self, id: &str, name: &str)
[src]
fn remove_event(&mut self, id: &str, name: &str)
[src]
fn events(&self) -> &BTreeMap<String, BTreeMap<String, bool>>
[src]
fn removes(&self) -> &BTreeMap<String, RawView>
[src]
fn patches(&self) -> &BTreeMap<String, Vec<Patch>>
[src]
Trait Implementations
impl Debug for Transaction
[src]
impl Clone for Transaction
[src]
fn clone(&self) -> Transaction
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl PartialEq for Transaction
[src]
fn eq(&self, __arg_0: &Transaction) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &Transaction) -> bool
[src]
This method tests for !=
.