Struct iui::controls::Spacer [−][src]
pub struct Spacer { /* fields omitted */ }Seperates components with empty space.
Methods
impl Spacer[src]
impl Spacerpub fn show(&mut self, _ctx: &UI)[src]
pub fn show(&mut self, _ctx: &UI)pub fn hide(&mut self, _ctx: &UI)[src]
pub fn hide(&mut self, _ctx: &UI)pub unsafe fn from_raw(uiBox: *mut uiBox) -> Spacer[src]
pub unsafe fn from_raw(uiBox: *mut uiBox) -> SpacerCreate an iui struct for this control from the raw pointer for it.
Unsafety
The given pointer must point to a valid control or memory unsafety may result.
pub fn ptr(&self) -> *mut uiBox[src]
pub fn ptr(&self) -> *mut uiBoxReturn the underlying pointer for this control.
impl Spacer[src]
impl SpacerTrait Implementations
impl Drop for Spacer[src]
impl Drop for Spacerimpl Clone for Spacer[src]
impl Clone for Spacerfn clone(&self) -> Spacer[src]
fn clone(&self) -> SpacerReturns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
fn clone_from(&mut self, source: &Self)1.0.0
[src]Performs copy-assignment from source. Read more
impl Into<Control> for Spacer[src]
impl Into<Control> for Spacer