Struct gxi_desktop_binds::View [−][src]
pub struct View { pub parent: WeakNodeRc, pub dirty: bool, pub self_substitute: Option<WeakNodeRc>, pub child: Option<NodeRc>, pub sibling: Option<NodeRc>, pub widget: Box, }
Fields
parent: WeakNodeRc
dirty: bool
self_substitute: Option<WeakNodeRc>
child: Option<NodeRc>
sibling: Option<NodeRc>
widget: Box
Implementations
impl View
[src]
impl View
[src]pub fn orientation(&mut self, orientation: Orientation)
[src]
pub fn h_expand(&mut self, h_expand: bool)
[src]
pub fn v_expand(&mut self, v_expand: bool)
[src]
Trait Implementations
impl Node for View
[src]
impl Node for View
[src]fn as_any(&self) -> &dyn Any
[src]
fn as_any_mut(&mut self) -> &mut dyn Any
[src]
fn is_dirty(&self) -> bool
[src]
fn mark_dirty(&mut self)
[src]
fn mark_clean(&mut self)
[src]
fn init_sibling(&mut self, f: Box<dyn FnOnce() -> NodeRc>) -> (NodeRc, bool)
[src]
fn init_child(&mut self, f: Box<dyn FnOnce() -> NodeRc>) -> (NodeRc, bool)
[src]
fn get_widget(&self) -> NativeWidget
[src]
fn get_sibling(&self) -> &Option<NodeRc>
[src]
fn get_sibling_mut(&mut self) -> &mut Option<NodeRc>
[src]
fn get_child(&self) -> &Option<NodeRc>
[src]
fn get_child_mut(&mut self) -> &mut Option<NodeRc>
[src]
fn add(&mut self, child: NodeRc)
[src]
fn get_self_substitute(&self) -> NodeRc
[src]
fn set_self_substitute(&mut self, self_substitute: NodeRc)
[src]
fn new(parent: WeakNodeRc) -> NodeRc
[src]
fn render(state: NodeRc)
[src]
pub fn get_type(&self) -> NodeType
[src]
Auto Trait Implementations
impl !RefUnwindSafe for View
impl !RefUnwindSafe for View
impl !UnwindSafe for View
impl !UnwindSafe for View