Struct rute::auto::list_widget_item::ListWidgetItem
source · pub struct ListWidgetItem<'a> { /* private fields */ }
Expand description
Notice these docs are heavy WIP and not very relevent yet
Implementations
sourceimpl<'a> ListWidgetItem<'a>
impl<'a> ListWidgetItem<'a>
pub fn new() -> ListWidgetItem<'a>
pub fn list_widget(&self) -> Option<ListWidget<'_>>
pub fn set_selected(&self, select: bool) -> &Self
pub fn is_selected(&self) -> bool
pub fn text(&self) -> String
pub fn set_text(&self, text: &str) -> &Self
pub fn status_tip(&self) -> String
pub fn set_status_tip(&self, status_tip: &str) -> &Self
pub fn tool_tip(&self) -> String
pub fn set_tool_tip(&self, tool_tip: &str) -> &Self
pub fn whats_this(&self) -> String
pub fn set_whats_this(&self, whats_this: &str) -> &Self
pub fn text_alignment(&self) -> i32
pub fn set_text_alignment(&self, alignment: i32) -> &Self
Trait Implementations
sourceimpl<'a> Clone for ListWidgetItem<'a>
impl<'a> Clone for ListWidgetItem<'a>
sourcefn clone(&self) -> ListWidgetItem<'a>
fn clone(&self) -> ListWidgetItem<'a>
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreimpl<'a> ListWidgetItemTrait<'a> for ListWidgetItem<'a>
Auto Trait Implementations
impl<'a> !RefUnwindSafe for ListWidgetItem<'a>
impl<'a> !Send for ListWidgetItem<'a>
impl<'a> !Sync for ListWidgetItem<'a>
impl<'a> Unpin for ListWidgetItem<'a>
impl<'a> !UnwindSafe for ListWidgetItem<'a>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more