Struct AccessibleLabel
pub struct AccessibleLabel { /* private fields */ }Implementations§
§impl AccessibleLabel
impl AccessibleLabel
pub fn new( text: impl Into<String>, ) -> Result<AccessibleLabel, AccessibleLabelError>
pub fn text(&self) -> &str
pub fn is_empty(&self) -> bool
pub fn word_count(&self) -> usize
Trait Implementations§
§impl Clone for AccessibleLabel
impl Clone for AccessibleLabel
§fn clone(&self) -> AccessibleLabel
fn clone(&self) -> AccessibleLabel
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read more§impl Debug for AccessibleLabel
impl Debug for AccessibleLabel
§impl PartialEq for AccessibleLabel
impl PartialEq for AccessibleLabel
impl Eq for AccessibleLabel
impl StructuralPartialEq for AccessibleLabel
Auto Trait Implementations§
impl Freeze for AccessibleLabel
impl RefUnwindSafe for AccessibleLabel
impl Send for AccessibleLabel
impl Sync for AccessibleLabel
impl Unpin for AccessibleLabel
impl UnsafeUnpin for AccessibleLabel
impl UnwindSafe for AccessibleLabel
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