Struct virtual_view::Transaction
[−]
[src]
pub struct Transaction { /* fields omitted */ }
Methods
impl Transaction
[src]
pub fn new() -> Self
[src]
pub fn is_empty(&self) -> bool
[src]
pub fn mount(&mut self, id: &str, view: RawView)
[src]
pub fn unmount(&mut self, id: &str, view: RawView)
[src]
pub fn insert(&mut self, id: &str, view_id: &str, index: usize, view: RawView)
[src]
pub fn replace(&mut self, id: &str, prev_view: RawView, next_view: RawView)
[src]
pub fn order(&mut self, id: &str, order: Order)
[src]
pub 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>
)
pub fn remove(&mut self, id: &str, view: RawView)
[src]
pub fn add_event(&mut self, id: &str, name: &str)
[src]
pub fn remove_event(&mut self, id: &str, name: &str)
[src]
pub fn events(&self) -> &FnvHashMap<String, FnvHashMap<String, bool>>
[src]
pub fn removes(&self) -> &FnvHashMap<String, RawView>
[src]
pub fn patches(&self) -> &FnvHashMap<String, Vec<Patch>>
[src]
Trait Implementations
impl Debug for Transaction
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
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 !=
.