pub struct Separator { /* private fields */ }Implementations§
Source§impl Separator
impl Separator
pub fn new() -> Self
pub fn orientation(self, orientation: SeparatorOrientation) -> Self
pub fn thickness(self, thickness: Px) -> Self
pub fn flex_stretch_cross_axis(self, stretch: bool) -> Self
pub fn decorative(self, decorative: bool) -> Self
pub fn refine_layout(self, layout: LayoutRefinement) -> Self
pub fn into_element<H: UiHost>( self, cx: &mut ElementContext<'_, H>, ) -> AnyElement
Trait Implementations§
Source§impl<H: UiHost> IntoUiElement<H> for Separator
impl<H: UiHost> IntoUiElement<H> for Separator
fn into_element(self, cx: &mut ElementContext<'_, H>) -> AnyElement
Source§impl UiPatchTarget for Separator
impl UiPatchTarget for Separator
Source§fn apply_ui_patch(self, patch: UiPatch) -> Self
fn apply_ui_patch(self, patch: UiPatch) -> Self
Applies an aggregated authoring patch (chrome + layout) and returns the refined value. Read more
impl UiSupportsLayout for Separator
Auto Trait Implementations§
impl Freeze for Separator
impl RefUnwindSafe for Separator
impl Send for Separator
impl Sync for Separator
impl Unpin for Separator
impl UnsafeUnpin for Separator
impl UnwindSafe for Separator
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