pub struct EuvCarouselSlide {
pub title: &'static str,
pub desc: &'static str,
}Expand description
One slide of the euv_carousel.
Carries the headline of the slide and the supporting line under it.
Fields§
§title: &'static strThe headline of the slide.
desc: &'static strThe supporting line under the headline.
Implementations§
Source§impl EuvCarouselSlide
impl EuvCarouselSlide
pub fn get_title(&self) -> &'static str
pub fn get_mut_title(&mut self) -> &mut &'static str
pub fn set_title(&mut self, val: &'static str) -> &mut Self
pub fn get_desc(&self) -> &'static str
pub fn get_mut_desc(&mut self) -> &mut &'static str
pub fn set_desc(&mut self, val: &'static str) -> &mut Self
Trait Implementations§
Source§impl Clone for EuvCarouselSlide
impl Clone for EuvCarouselSlide
impl Copy for EuvCarouselSlide
Source§impl Debug for EuvCarouselSlide
impl Debug for EuvCarouselSlide
Auto Trait Implementations§
impl Freeze for EuvCarouselSlide
impl RefUnwindSafe for EuvCarouselSlide
impl Send for EuvCarouselSlide
impl Sync for EuvCarouselSlide
impl Unpin for EuvCarouselSlide
impl UnsafeUnpin for EuvCarouselSlide
impl UnwindSafe for EuvCarouselSlide
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