1use crate::primitives::button::Button; 2 3impl Button { 4 /// Returns the button's text content. 5 /// 6 /// # Returns 7 /// 8 /// A string slice containing the button's text 9 #[inline] 10 pub fn text(&self) -> &str { 11 &self.text 12 } 13}