pub struct ChevronBuilder<'a> { /* private fields */ }Expand description
Chainable chevron.
Implementations§
Source§impl<'a> ChevronBuilder<'a>
impl<'a> ChevronBuilder<'a>
Sourcepub fn direction(self, d: ChevronDirection) -> Self
pub fn direction(self, d: ChevronDirection) -> Self
Direction the glyph points.
Sourcepub fn on_click(self, f: impl FnOnce() + 'a) -> Self
pub fn on_click(self, f: impl FnOnce() + 'a) -> Self
Invoked when this id was clicked and the chevron is not disabled.
Sourcepub fn settings(self, s: ChevronSettings) -> Self
pub fn settings(self, s: ChevronSettings) -> Self
Full settings.
Auto Trait Implementations§
impl<'a> !RefUnwindSafe for ChevronBuilder<'a>
impl<'a> !Send for ChevronBuilder<'a>
impl<'a> !Sync for ChevronBuilder<'a>
impl<'a> !UnwindSafe for ChevronBuilder<'a>
impl<'a> Freeze for ChevronBuilder<'a>
impl<'a> Unpin for ChevronBuilder<'a>
impl<'a> UnsafeUnpin for ChevronBuilder<'a>
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