pub struct Context { /* private fields */ }Expand description
The context consists of a set of style properties and layouts to render views.
Implementations§
Source§impl Context
impl Context
pub fn new() -> Context
pub fn set_style_property(&self)
pub fn render(&self, storage: &mut Storage) -> RenderObject
pub fn set_children( &self, children: Vec<Box<dyn Fn(&mut Storage) -> RenderObject>>, )
Trait Implementations§
Auto Trait Implementations§
impl !Freeze for Context
impl !RefUnwindSafe for Context
impl !Send for Context
impl !Sync for Context
impl Unpin for Context
impl UnsafeUnpin for Context
impl !UnwindSafe for Context
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