[−][src]Struct azul_webrender_api::TransactionMsg
Represents a transaction in the format sent through the channel.
Fields
scene_ops: Vec<SceneMsg>Changes that require re-building the scene.
frame_ops: Vec<FrameMsg>Changes to animated properties that do not require re-building the scene.
resource_updates: Vec<ResourceUpdate>Updates to resources that persist across display lists.
generate_frame: boolWhether to trigger frame building and rendering if something has changed.
invalidate_rendered_frame: boolWhether to force frame building and rendering even if no changes are internally observed.
use_scene_builder_thread: boolWhether to enforce that this transaction go through the scene builder.
low_priority: boolnotifications: Vec<NotificationRequest>Handlers to notify at certain points of the pipeline.
Implementations
impl TransactionMsg[src]
pub fn is_empty(&self) -> bool[src]
Returns true if this transaction has no effect.
pub fn frame_message(msg: FrameMsg) -> Self[src]
Creates a transaction message from a single frame message.
pub fn scene_message(msg: SceneMsg) -> Self[src]
Creates a transaction message from a single scene message.
Trait Implementations
impl Clone for TransactionMsg[src]
fn clone(&self) -> TransactionMsg[src]
fn clone_from(&mut self, source: &Self)1.0.0[src]
impl Debug for TransactionMsg[src]
impl<'de> Deserialize<'de> for TransactionMsg[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>, [src]
__D: Deserializer<'de>,
impl Serialize for TransactionMsg[src]
Auto Trait Implementations
impl !RefUnwindSafe for TransactionMsg
impl Send for TransactionMsg
impl !Sync for TransactionMsg
impl Unpin for TransactionMsg
impl !UnwindSafe for TransactionMsg
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>, [src]
T: for<'de> Deserialize<'de>,
impl<T> From<T> for T[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone, [src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T[src]
fn clone_into(&self, target: &mut T)[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,