pub struct Label {
pub control_id: Vec<i32>,
pub name: String,
pub label: String,
}
Fields§
§control_id: Vec<i32>
§name: String
§label: String
Trait Implementations§
Source§impl Control for Label
impl Control for Label
fn as_json(&self) -> Value
fn control_type(&self) -> &'static str
fn control_id(&self) -> &Vec<i32>
fn clone_trol(&self) -> Box<dyn Control>
fn sub_controls(&self) -> Option<&Vec<Box<dyn Control>>>
fn mut_sub_controls(&mut self) -> Option<&mut Vec<Box<dyn Control>>>
fn add_control(&mut self, _control: Box<dyn Control>)
fn update(&mut self, um: &UpdateMsg)
fn empty_update(&self) -> Option<UpdateMsg>
fn to_update(&self) -> Option<UpdateMsg>
fn name(&self) -> &str
Auto Trait Implementations§
impl Freeze for Label
impl RefUnwindSafe for Label
impl Send for Label
impl Sync for Label
impl Unpin for Label
impl UnwindSafe for Label
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