pub struct LeafData {
pub index: u32,
pub id: String,
pub component: String,
pub part: Option<String>,
pub owner_component: Option<String>,
pub props: Map<String, Value>,
pub text_style: TextStyle,
pub control: ControlBox,
pub lines: Option<u32>,
}Expand description
A measured leaf, OWNED: what the step API hands a host across a lock.
Fields§
§index: u32§id: String§component: String§part: Option<String>§owner_component: Option<String>§props: Map<String, Value>§text_style: TextStyle§control: ControlBox§lines: Option<u32>Implementations§
Trait Implementations§
impl StructuralPartialEq for LeafData
Auto Trait Implementations§
impl Freeze for LeafData
impl RefUnwindSafe for LeafData
impl Send for LeafData
impl Sync for LeafData
impl Unpin for LeafData
impl UnsafeUnpin for LeafData
impl UnwindSafe for LeafData
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