Struct ui2::ListSeparator
source · pub struct ListSeparator;
Implementations§
source§impl ListSeparator
impl ListSeparator
Trait Implementations§
source§impl Clone for ListSeparator
impl Clone for ListSeparator
source§fn clone(&self) -> ListSeparator
fn clone(&self) -> ListSeparator
Returns a copy 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 moresource§impl Component for ListSeparator
impl Component for ListSeparator
source§impl RenderOnce for ListSeparator
impl RenderOnce for ListSeparator
type Element = CompositeElement<ListSeparator>
fn element_id(&self) -> Option<ElementId>
fn render_once(self) -> Self::Element
fn render_into_any(self) -> AnyElement
fn draw<T, R>( self, origin: Point<Pixels>, available_space: Size<T>, cx: &mut WindowContext<'_>, f: impl FnOnce(&mut <Self::Element as Element>::State, &mut WindowContext<'_>) -> R ) -> Rwhere T: Clone + Default + Debug + Into<AvailableSpace>,
fn map<U>(self, f: impl FnOnce(Self) -> U) -> Uwhere Self: Sized, U: RenderOnce,
fn when(self, condition: bool, then: impl FnOnce(Self) -> Self) -> Selfwhere Self: Sized,
fn when_some<T>( self, option: Option<T>, then: impl FnOnce(Self, T) -> Self ) -> Selfwhere Self: Sized,
Auto Trait Implementations§
impl RefUnwindSafe for ListSeparator
impl Send for ListSeparator
impl Sync for ListSeparator
impl Unpin for ListSeparator
impl UnwindSafe for ListSeparator
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