pub struct DefaultSelectionStyleMerge { /* private fields */ }Expand description
Dart’s DefaultSelectionStyle.merge(..) before its optional arguments are known: a
Builder that merges them into the ambient DefaultSelectionStyle.
Implementations§
Source§impl DefaultSelectionStyleMerge
impl DefaultSelectionStyleMerge
Sourcepub fn key(self, key: KeyRef) -> DefaultSelectionStyleMerge
pub fn key(self, key: KeyRef) -> DefaultSelectionStyleMerge
Dart DefaultSelectionStyle.merge(key:).
Sourcepub fn cursor_color(
self,
cursor_color: impl Into<AnyColor>,
) -> DefaultSelectionStyleMerge
pub fn cursor_color( self, cursor_color: impl Into<AnyColor>, ) -> DefaultSelectionStyleMerge
Dart DefaultSelectionStyle.merge(cursorColor:).
Sourcepub fn selection_color(
self,
selection_color: impl Into<AnyColor>,
) -> DefaultSelectionStyleMerge
pub fn selection_color( self, selection_color: impl Into<AnyColor>, ) -> DefaultSelectionStyleMerge
Dart DefaultSelectionStyle.merge(selectionColor:).
Sourcepub fn mouse_cursor(
self,
mouse_cursor: MouseCursorRef,
) -> DefaultSelectionStyleMerge
pub fn mouse_cursor( self, mouse_cursor: MouseCursorRef, ) -> DefaultSelectionStyleMerge
Dart DefaultSelectionStyle.merge(mouseCursor:).
Trait Implementations§
Source§impl Debug for DefaultSelectionStyleMerge
impl Debug for DefaultSelectionStyleMerge
Source§impl IntoWidget<DefaultSelectionStyleMergeKind> for DefaultSelectionStyleMerge
impl IntoWidget<DefaultSelectionStyleMergeKind> for DefaultSelectionStyleMerge
Source§fn into_widget(self) -> WidgetRef
fn into_widget(self) -> WidgetRef
The widget as a tree node, made where this is called: its
creation_location.Auto Trait Implementations§
impl !RefUnwindSafe for DefaultSelectionStyleMerge
impl !Send for DefaultSelectionStyleMerge
impl !Sync for DefaultSelectionStyleMerge
impl !UnwindSafe for DefaultSelectionStyleMerge
impl Forget for DefaultSelectionStyleMerge
impl Freeze for DefaultSelectionStyleMergewhere
*const RcInner<dyn Key> is !null: Freeze,
PhantomData<RcInner<dyn Key>>: Freeze,
&'static dyn ColorExtension: Freeze,
*const RcInner<dyn ColorExtension> is !null: Freeze,
PhantomData<RcInner<dyn ColorExtension>>: Freeze,
*const RcInner<dyn MouseCursor> is !null: Freeze,
PhantomData<RcInner<dyn MouseCursor>>: Freeze,
*const RcInner<dyn Widget> is !null: Freeze,
PhantomData<RcInner<dyn Widget>>: Freeze,
impl Move for DefaultSelectionStyleMerge
impl Unpin for DefaultSelectionStyleMergewhere
Rc<dyn Key>: Unpin,
&'static dyn ColorExtension: Unpin,
Rc<dyn ColorExtension>: Unpin,
Rc<dyn MouseCursor>: Unpin,
Rc<dyn Widget>: Unpin,
impl UnsafeUnpin for DefaultSelectionStyleMergewhere
*const RcInner<dyn Key> is !null: UnsafeUnpin,
PhantomData<RcInner<dyn Key>>: UnsafeUnpin,
&'static dyn ColorExtension: UnsafeUnpin,
*const RcInner<dyn ColorExtension> is !null: UnsafeUnpin,
PhantomData<RcInner<dyn ColorExtension>>: UnsafeUnpin,
*const RcInner<dyn MouseCursor> is !null: UnsafeUnpin,
PhantomData<RcInner<dyn MouseCursor>>: UnsafeUnpin,
*const RcInner<dyn Widget> is !null: UnsafeUnpin,
PhantomData<RcInner<dyn Widget>>: UnsafeUnpin,
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