pub struct TeksiRoot {
pub ctx: Option<Ident>,
pub root: TeksiElement,
}Expand description
The root of a teksu! invocation.
Fields§
§ctx: Option<Ident>If Some(ident), the macro was called as teksu!(ident => ...)
and expansion should wrap the root in ident.add(...) to return
a WidgetId. If None, expansion returns the widget value
directly.
root: TeksiElementAuto Trait Implementations§
impl !Send for TeksiRoot
impl !Sync for TeksiRoot
impl Freeze for TeksiRoot
impl RefUnwindSafe for TeksiRoot
impl Unpin for TeksiRoot
impl UnsafeUnpin for TeksiRoot
impl UnwindSafe for TeksiRoot
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