pub struct DialogInstance {
pub root: NodeId,
pub bindings: Vec<Binding>,
pub dialogs: Vec<String>,
pub background: Option<SpriteRef>,
}Expand description
A dialog made from its resource: the element tree and its controllers.
Fields§
§root: NodeIdThe root element: lay it out and draw it.
bindings: Vec<Binding>The controllers attached to its elements.
dialogs: Vec<String>The dialogs it was built from: the dialog and those it includes.
background: Option<SpriteRef>The background sprite drawn behind the dialog, if any.
Implementations§
Trait Implementations§
Source§impl Clone for DialogInstance
impl Clone for DialogInstance
Source§fn clone(&self) -> DialogInstance
fn clone(&self) -> DialogInstance
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for DialogInstance
impl RefUnwindSafe for DialogInstance
impl Send for DialogInstance
impl Sync for DialogInstance
impl Unpin for DialogInstance
impl UnsafeUnpin for DialogInstance
impl UnwindSafe for DialogInstance
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