pub struct RawChip {Show 41 fields
pub key: Option<KeyRef>,
pub default_properties: Option<Rc<dyn ChipThemeDataGetters>>,
pub avatar: Option<WidgetRef>,
pub label: WidgetRef,
pub label_style: Option<TextStyle>,
pub padding: Option<EdgeInsetsGeometry>,
pub visual_density: Option<VisualDensity>,
pub label_padding: Option<EdgeInsetsGeometry>,
pub delete_icon: WidgetRef,
pub on_deleted: Option<Listener>,
pub delete_icon_color: Option<AnyColor>,
pub delete_button_tooltip_message: Option<String>,
pub on_pressed: Option<Listener>,
pub on_selected: Option<ValueChanged<bool>>,
pub press_elevation: Option<f64>,
pub tap_enabled: bool,
pub selected: bool,
pub is_enabled: bool,
pub disabled_color: Option<Color>,
pub selected_color: Option<Color>,
pub tooltip: Option<String>,
pub side: Option<AnyBorderSide>,
pub shape: Option<OutlinedBorderRef>,
pub clip_behavior: Clip,
pub focus_node: Option<FocusNodeRef>,
pub autofocus: bool,
pub color: Option<WidgetStatePropertyRef<Option<Color>>>,
pub background_color: Option<Color>,
pub material_tap_target_size: Option<MaterialTapTargetSize>,
pub elevation: Option<f64>,
pub shadow_color: Option<Color>,
pub surface_tint_color: Option<Color>,
pub icon_theme: Option<IconThemeData>,
pub selected_shadow_color: Option<Color>,
pub show_checkmark: Option<bool>,
pub checkmark_color: Option<Color>,
pub avatar_border: ShapeBorderRef,
pub avatar_box_constraints: Option<BoxConstraints>,
pub delete_icon_box_constraints: Option<BoxConstraints>,
pub chip_animation_style: Option<ChipAnimationStyle>,
pub mouse_cursor: Option<MouseCursorRef>,
}Expand description
A raw material design chip.
This serves as the basis for all of the chip widget types to aggregate. It is typically not created directly, one of the other chip types that are appropriate for the use case are used instead:
Chipa simple chip that can only display information and be deleted.InputChiprepresents a complex piece of information, such as an entity (person, place, or thing) or conversational text, in a compact form.ChoiceChipallows a single selection from a set of options.FilterChipa chip that uses tags or descriptive words as a way to filter content.ActionChiprepresents an action related to primary content.
Raw chips are typically only used if you want to create your own custom chip type.
Raw chips can be selected by setting on_selected, deleted by
setting on_deleted, and pushed like a button with
on_pressed. They have a delete_icon that can
be set, and customized.
Its ancestors must include Material, MediaQuery, Directionality, and
MaterialLocalizations.
Fields§
§key: Option<KeyRef>§default_properties: Option<Rc<dyn ChipThemeDataGetters>>Defaults to be used when ThemeData::use_material3 is true, or by the chips that
give their own: Dart’s ChipThemeData? defaultProperties.
avatar: Option<WidgetRef>§label: WidgetRef§label_style: Option<TextStyle>§padding: Option<EdgeInsetsGeometry>§visual_density: Option<VisualDensity>§label_padding: Option<EdgeInsetsGeometry>§delete_icon: WidgetRef§on_deleted: Option<Listener>§delete_icon_color: Option<AnyColor>§on_pressed: Option<Listener>§on_selected: Option<ValueChanged<bool>>§press_elevation: Option<f64>§tap_enabled: bool§selected: bool§is_enabled: bool§disabled_color: Option<Color>§selected_color: Option<Color>§tooltip: Option<String>§side: Option<AnyBorderSide>§shape: Option<OutlinedBorderRef>§clip_behavior: Clip§focus_node: Option<FocusNodeRef>§autofocus: bool§color: Option<WidgetStatePropertyRef<Option<Color>>>§background_color: Option<Color>§material_tap_target_size: Option<MaterialTapTargetSize>§elevation: Option<f64>§shadow_color: Option<Color>§surface_tint_color: Option<Color>§icon_theme: Option<IconThemeData>§selected_shadow_color: Option<Color>§show_checkmark: Option<bool>§checkmark_color: Option<Color>§avatar_border: ShapeBorderRef§avatar_box_constraints: Option<BoxConstraints>§delete_icon_box_constraints: Option<BoxConstraints>§chip_animation_style: Option<ChipAnimationStyle>§mouse_cursor: Option<MouseCursorRef>Implementations§
Source§impl RawChip
impl RawChip
Sourcepub fn new<K>(label: impl IntoWidget<K>) -> RawChip
pub fn new<K>(label: impl IntoWidget<K>) -> RawChip
Creates a raw chip; Dart’s named arguments are the setters.
The press_elevation and elevation
must be null or non-negative. The delete_icon defaults to an
Icon of Icons::cancel.
Sourcepub fn default_properties(
self,
default_properties: Rc<dyn ChipThemeDataGetters>,
) -> RawChip
pub fn default_properties( self, default_properties: Rc<dyn ChipThemeDataGetters>, ) -> RawChip
Dart RawChip(defaultProperties:).
Sourcepub fn label_style(self, label_style: TextStyle) -> RawChip
pub fn label_style(self, label_style: TextStyle) -> RawChip
Dart RawChip(label_style:).
Sourcepub fn visual_density(self, visual_density: VisualDensity) -> RawChip
pub fn visual_density(self, visual_density: VisualDensity) -> RawChip
Dart RawChip(visual_density:).
Sourcepub fn on_deleted(self, on_deleted: Listener) -> RawChip
pub fn on_deleted(self, on_deleted: Listener) -> RawChip
Dart RawChip(on_deleted:).
Dart RawChip(delete_button_tooltip_message:).
Sourcepub fn on_pressed(self, on_pressed: Listener) -> RawChip
pub fn on_pressed(self, on_pressed: Listener) -> RawChip
Dart RawChip(on_pressed:).
Sourcepub fn on_selected(self, on_selected: ValueChanged<bool>) -> RawChip
pub fn on_selected(self, on_selected: ValueChanged<bool>) -> RawChip
Dart RawChip(on_selected:).
Sourcepub fn disabled_color(self, disabled_color: Color) -> RawChip
pub fn disabled_color(self, disabled_color: Color) -> RawChip
Dart RawChip(disabled_color:).
Sourcepub fn selected_color(self, selected_color: Color) -> RawChip
pub fn selected_color(self, selected_color: Color) -> RawChip
Dart RawChip(selected_color:).
Sourcepub fn focus_node(self, focus_node: FocusNodeRef) -> RawChip
pub fn focus_node(self, focus_node: FocusNodeRef) -> RawChip
Dart RawChip(focus_node:).
Sourcepub fn color(self, color: WidgetStatePropertyRef<Option<Color>>) -> RawChip
pub fn color(self, color: WidgetStatePropertyRef<Option<Color>>) -> RawChip
Dart RawChip(color:).
Sourcepub fn background_color(self, background_color: Color) -> RawChip
pub fn background_color(self, background_color: Color) -> RawChip
Dart RawChip(background_color:).
Sourcepub fn material_tap_target_size(
self,
material_tap_target_size: MaterialTapTargetSize,
) -> RawChip
pub fn material_tap_target_size( self, material_tap_target_size: MaterialTapTargetSize, ) -> RawChip
Dart RawChip(material_tap_target_size:).
Sourcepub fn shadow_color(self, shadow_color: Color) -> RawChip
pub fn shadow_color(self, shadow_color: Color) -> RawChip
Dart RawChip(shadow_color:).
Sourcepub fn surface_tint_color(self, surface_tint_color: Color) -> RawChip
pub fn surface_tint_color(self, surface_tint_color: Color) -> RawChip
Dart RawChip(surface_tint_color:).
Sourcepub fn icon_theme(self, icon_theme: IconThemeData) -> RawChip
pub fn icon_theme(self, icon_theme: IconThemeData) -> RawChip
Dart RawChip(icon_theme:).
Sourcepub fn selected_shadow_color(self, selected_shadow_color: Color) -> RawChip
pub fn selected_shadow_color(self, selected_shadow_color: Color) -> RawChip
Dart RawChip(selected_shadow_color:).
Sourcepub fn show_checkmark(self, show_checkmark: bool) -> RawChip
pub fn show_checkmark(self, show_checkmark: bool) -> RawChip
Dart RawChip(show_checkmark:).
Sourcepub fn checkmark_color(self, checkmark_color: Color) -> RawChip
pub fn checkmark_color(self, checkmark_color: Color) -> RawChip
Dart RawChip(checkmark_color:).
Sourcepub fn avatar_box_constraints(
self,
avatar_box_constraints: BoxConstraints,
) -> RawChip
pub fn avatar_box_constraints( self, avatar_box_constraints: BoxConstraints, ) -> RawChip
Dart RawChip(avatar_box_constraints:).
Sourcepub fn delete_icon_box_constraints(
self,
delete_icon_box_constraints: BoxConstraints,
) -> RawChip
pub fn delete_icon_box_constraints( self, delete_icon_box_constraints: BoxConstraints, ) -> RawChip
Dart RawChip(delete_icon_box_constraints:).
Sourcepub fn chip_animation_style(
self,
chip_animation_style: ChipAnimationStyle,
) -> RawChip
pub fn chip_animation_style( self, chip_animation_style: ChipAnimationStyle, ) -> RawChip
Dart RawChip(chip_animation_style:).
Sourcepub fn mouse_cursor(self, mouse_cursor: MouseCursorRef) -> RawChip
pub fn mouse_cursor(self, mouse_cursor: MouseCursorRef) -> RawChip
Dart RawChip(mouse_cursor:).
Sourcepub fn tap_enabled(self, tap_enabled: bool) -> RawChip
pub fn tap_enabled(self, tap_enabled: bool) -> RawChip
Dart RawChip(tap_enabled:).
Sourcepub fn is_enabled(self, is_enabled: bool) -> RawChip
pub fn is_enabled(self, is_enabled: bool) -> RawChip
Dart RawChip(is_enabled:).
Sourcepub fn clip_behavior(self, clip_behavior: Clip) -> RawChip
pub fn clip_behavior(self, clip_behavior: Clip) -> RawChip
Dart RawChip(clip_behavior:).
Sourcepub fn avatar_border(self, avatar_border: ShapeBorderRef) -> RawChip
pub fn avatar_border(self, avatar_border: ShapeBorderRef) -> RawChip
Dart RawChip(avatar_border:).
Sourcepub fn avatar<K>(self, avatar: impl IntoWidget<K>) -> RawChip
pub fn avatar<K>(self, avatar: impl IntoWidget<K>) -> RawChip
Dart RawChip(avatar:).
Sourcepub fn padding(self, padding: impl Into<EdgeInsetsGeometry>) -> RawChip
pub fn padding(self, padding: impl Into<EdgeInsetsGeometry>) -> RawChip
Dart RawChip(padding:).
Sourcepub fn label_padding(
self,
label_padding: impl Into<EdgeInsetsGeometry>,
) -> RawChip
pub fn label_padding( self, label_padding: impl Into<EdgeInsetsGeometry>, ) -> RawChip
Dart RawChip(label_padding:).
Sourcepub fn side(self, side: impl Into<AnyBorderSide>) -> RawChip
pub fn side(self, side: impl Into<AnyBorderSide>) -> RawChip
Dart RawChip(side:).
Sourcepub fn shape(self, shape: impl Into<OutlinedBorderRef>) -> RawChip
pub fn shape(self, shape: impl Into<OutlinedBorderRef>) -> RawChip
Dart RawChip(shape:).
Sourcepub fn delete_icon_color(
self,
delete_icon_color: impl Into<AnyColor>,
) -> RawChip
pub fn delete_icon_color( self, delete_icon_color: impl Into<AnyColor>, ) -> RawChip
Dart RawChip(delete_icon_color:).
Sourcepub fn press_elevation(self, press_elevation: f64) -> RawChip
pub fn press_elevation(self, press_elevation: f64) -> RawChip
Dart RawChip(press_elevation:).
Sourcepub fn delete_icon<K>(self, delete_icon: impl IntoWidget<K>) -> RawChip
pub fn delete_icon<K>(self, delete_icon: impl IntoWidget<K>) -> RawChip
Dart RawChip(deleteIcon:), which falls back to the default delete icon when null.
Trait Implementations§
Source§impl CheckmarkableChipAttributes for RawChip
impl CheckmarkableChipAttributes for RawChip
Source§fn show_checkmark(&self) -> Option<bool>
fn show_checkmark(&self) -> Option<bool>
SelectableChipAttributes::selected is true. Read moreSource§impl ChipAttributes for RawChip
impl ChipAttributes for RawChip
Source§fn avatar(&self) -> Option<&WidgetRef>
fn avatar(&self) -> Option<&WidgetRef>
Source§fn label_style(&self) -> Option<&TextStyle>
fn label_style(&self) -> Option<&TextStyle>
Source§fn side(&self) -> Option<&AnyBorderSide>
fn side(&self) -> Option<&AnyBorderSide>
Source§fn shape(&self) -> Option<&OutlinedBorderRef>
fn shape(&self) -> Option<&OutlinedBorderRef>
OutlinedBorder to draw around the chip. Read moreSource§fn clip_behavior(&self) -> Clip
fn clip_behavior(&self) -> Clip
Clip::None.Source§fn focus_node(&self) -> Option<&FocusNodeRef>
fn focus_node(&self) -> Option<&FocusNodeRef>
InkWell.Source§fn color(&self) -> Option<&WidgetStatePropertyRef<Option<Color>>>
fn color(&self) -> Option<&WidgetStatePropertyRef<Option<Color>>>
WidgetStates. Read moreSource§fn background_color(&self) -> Option<Color>
fn background_color(&self) -> Option<Color>
Source§fn padding(&self) -> Option<&EdgeInsetsGeometry>
fn padding(&self) -> Option<&EdgeInsetsGeometry>
Source§fn visual_density(&self) -> Option<VisualDensity>
fn visual_density(&self) -> Option<VisualDensity>
Source§fn label_padding(&self) -> Option<&EdgeInsetsGeometry>
fn label_padding(&self) -> Option<&EdgeInsetsGeometry>
Source§fn material_tap_target_size(&self) -> Option<MaterialTapTargetSize>
fn material_tap_target_size(&self) -> Option<MaterialTapTargetSize>
Source§fn elevation(&self) -> Option<f64>
fn elevation(&self) -> Option<f64>
Source§fn shadow_color(&self) -> Option<Color>
fn shadow_color(&self) -> Option<Color>
Source§fn surface_tint_color(&self) -> Option<Color>
fn surface_tint_color(&self) -> Option<Color>
Source§fn icon_theme(&self) -> Option<&IconThemeData>
fn icon_theme(&self) -> Option<&IconThemeData>
Source§fn avatar_box_constraints(&self) -> Option<BoxConstraints>
fn avatar_box_constraints(&self) -> Option<BoxConstraints>
Source§fn chip_animation_style(&self) -> Option<&ChipAnimationStyle>
fn chip_animation_style(&self) -> Option<&ChipAnimationStyle>
Source§fn mouse_cursor(&self) -> Option<&MouseCursorRef>
fn mouse_cursor(&self) -> Option<&MouseCursorRef>
Source§impl DeletableChipAttributes for RawChip
impl DeletableChipAttributes for RawChip
Source§fn delete_icon(&self) -> Option<&WidgetRef>
fn delete_icon(&self) -> Option<&WidgetRef>
on_deleted is set. Read moreSource§fn on_deleted(&self) -> Option<&Listener>
fn on_deleted(&self) -> Option<&Listener>
delete_icon to delete the chip. Read moreSource§fn delete_icon_color(&self) -> Option<&AnyColor>
fn delete_icon_color(&self) -> Option<&AnyColor>
IconTheme that
contains the icon. Read moreSource§fn delete_icon_box_constraints(&self) -> Option<BoxConstraints>
fn delete_icon_box_constraints(&self) -> Option<BoxConstraints>
Source§impl DisabledChipAttributes for RawChip
impl DisabledChipAttributes for RawChip
Source§fn is_enabled(&self) -> bool
fn is_enabled(&self) -> bool
Source§fn disabled_color(&self) -> Option<Color>
fn disabled_color(&self) -> Option<Color>
Source§impl SelectableChipAttributes for RawChip
impl SelectableChipAttributes for RawChip
Source§fn on_selected(&self) -> Option<&ValueChanged<bool>>
fn on_selected(&self) -> Option<&ValueChanged<bool>>
Source§fn press_elevation(&self) -> Option<f64>
fn press_elevation(&self) -> Option<f64>
Source§fn selected_color(&self) -> Option<Color>
fn selected_color(&self) -> Option<Color>
Source§fn selected_shadow_color(&self) -> Option<Color>
fn selected_shadow_color(&self) -> Option<Color>
Source§fn tooltip(&self) -> Option<&str>
fn tooltip(&self) -> Option<&str>
Source§fn avatar_border(&self) -> &ShapeBorderRef
fn avatar_border(&self) -> &ShapeBorderRef
Source§impl StatefulWidget for RawChip
impl StatefulWidget for RawChip
Source§type State = RawChipState
type State = RawChipState
Source§fn create_state(&self) -> RawChipState
fn create_state(&self) -> RawChipState
Source§fn debug_fill_properties(
&self,
_app: &App,
properties: &mut DiagnosticPropertiesBuilder,
)
fn debug_fill_properties( &self, _app: &App, properties: &mut DiagnosticPropertiesBuilder, )
debugFillProperties: the properties a dump shows for this widget, in Dart’s
order. Dart’s Widget base only sets the dense tree style, which the framework does.Source§fn as_preferred_size_widget(
&self,
) -> Option<&(dyn PreferredSizeWidget + 'static)>
fn as_preferred_size_widget( &self, ) -> Option<&(dyn PreferredSizeWidget + 'static)>
Source§fn type_name(&self) -> &'static str
fn type_name(&self) -> &'static str
Widget::type_name. A stateful form another widget kind becomes (an animated or
status transition widget) names the widget it wraps.Source§impl TappableChipAttributes for RawChip
impl TappableChipAttributes for RawChip
Auto Trait Implementations§
impl !RefUnwindSafe for RawChip
impl !Send for RawChip
impl !Sync for RawChip
impl !UnwindSafe for RawChip
impl Forget for RawChip
impl Freeze for RawChipwhere
*const RcInner<dyn Key> is !null: Freeze,
PhantomData<RcInner<dyn Key>>: Freeze,
*const RcInner<dyn ChipThemeDataGetters> is !null: Freeze,
PhantomData<RcInner<dyn ChipThemeDataGetters>>: Freeze,
*const RcInner<dyn Widget> is !null: Freeze,
PhantomData<RcInner<dyn Widget>>: Freeze,
&'static dyn ColorExtension: Freeze,
*const RcInner<dyn ColorExtension> is !null: Freeze,
PhantomData<RcInner<dyn ColorExtension>>: Freeze,
*const u8 is !null: Freeze,
PhantomData<u8>: Freeze,
PhantomData<String>: Freeze,
*const RcInner<Paint> is !null: Freeze,
PhantomData<RcInner<Paint>>: Freeze,
PhantomData<Shadow>: Freeze,
PhantomData<FontFeature>: Freeze,
PhantomData<FontVariation>: Freeze,
*const RcInner<dyn Fn(&mut App)> is !null: Freeze,
PhantomData<RcInner<dyn Fn(&mut App)>>: Freeze,
NonZero<u32>: Freeze,
*const (): Freeze,
*const RcInner<dyn Fn(&mut App, bool)> is !null: Freeze,
PhantomData<RcInner<dyn Fn(&mut App, bool)>>: Freeze,
*const RcInner<dyn BorderSideExtension> is !null: Freeze,
PhantomData<RcInner<dyn BorderSideExtension>>: Freeze,
*const RcInner<dyn OutlinedBorder> is !null: Freeze,
PhantomData<RcInner<dyn OutlinedBorder>>: Freeze,
&'static FocusNodeVTable: Freeze,
*const RcInner<Keep> is !null: Freeze,
PhantomData<RcInner<Keep>>: Freeze,
*const RcInner<dyn WidgetStateProperty<Option<Color>>> is !null: Freeze,
PhantomData<RcInner<dyn WidgetStateProperty<Option<Color>>>>: Freeze,
*const RcInner<dyn Fn(&IconThemeData, &mut App, AnyElement) -> IconThemeData> is !null: Freeze,
PhantomData<RcInner<dyn Fn(&IconThemeData, &mut App, AnyElement) -> IconThemeData>>: Freeze,
*const RcInner<dyn ShapeBorder> is !null: Freeze,
PhantomData<RcInner<dyn ShapeBorder>>: Freeze,
*const RcInner<dyn Curve> is !null: Freeze,
PhantomData<RcInner<dyn Curve>>: Freeze,
*const RcInner<dyn MouseCursor> is !null: Freeze,
PhantomData<RcInner<dyn MouseCursor>>: Freeze,
impl Move for RawChip
impl Unpin for RawChipwhere
Rc<dyn Key>: Unpin,
Rc<dyn ChipThemeDataGetters>: Unpin,
Rc<dyn Widget>: Unpin,
&'static dyn ColorExtension: Unpin,
Rc<dyn ColorExtension>: Unpin,
*const u8 is !null: Unpin,
Rc<Paint>: Unpin,
Rc<dyn Fn(&mut App)>: Unpin,
NonZero<u32>: Unpin,
*const (): Unpin,
Rc<dyn Fn(&mut App, bool)>: Unpin,
Rc<dyn BorderSideExtension>: Unpin,
Rc<dyn OutlinedBorder>: Unpin,
&'static FocusNodeVTable: Unpin,
Rc<Keep>: Unpin,
Rc<dyn WidgetStateProperty<Option<Color>>>: Unpin,
Rc<dyn Fn(&IconThemeData, &mut App, AnyElement) -> IconThemeData>: Unpin,
Rc<dyn ShapeBorder>: Unpin,
Rc<dyn Curve>: Unpin,
Rc<dyn MouseCursor>: Unpin,
impl UnsafeUnpin for RawChipwhere
*const RcInner<dyn Key> is !null: UnsafeUnpin,
PhantomData<RcInner<dyn Key>>: UnsafeUnpin,
*const RcInner<dyn ChipThemeDataGetters> is !null: UnsafeUnpin,
PhantomData<RcInner<dyn ChipThemeDataGetters>>: UnsafeUnpin,
*const RcInner<dyn Widget> is !null: UnsafeUnpin,
PhantomData<RcInner<dyn Widget>>: UnsafeUnpin,
&'static dyn ColorExtension: UnsafeUnpin,
*const RcInner<dyn ColorExtension> is !null: UnsafeUnpin,
PhantomData<RcInner<dyn ColorExtension>>: UnsafeUnpin,
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<String>: UnsafeUnpin,
*const RcInner<Paint> is !null: UnsafeUnpin,
PhantomData<RcInner<Paint>>: UnsafeUnpin,
PhantomData<Shadow>: UnsafeUnpin,
PhantomData<FontFeature>: UnsafeUnpin,
PhantomData<FontVariation>: UnsafeUnpin,
*const RcInner<dyn Fn(&mut App)> is !null: UnsafeUnpin,
PhantomData<RcInner<dyn Fn(&mut App)>>: UnsafeUnpin,
NonZeroU32Inner: UnsafeUnpin,
*const (): UnsafeUnpin,
*const RcInner<dyn Fn(&mut App, bool)> is !null: UnsafeUnpin,
PhantomData<RcInner<dyn Fn(&mut App, bool)>>: UnsafeUnpin,
*const RcInner<dyn BorderSideExtension> is !null: UnsafeUnpin,
PhantomData<RcInner<dyn BorderSideExtension>>: UnsafeUnpin,
*const RcInner<dyn OutlinedBorder> is !null: UnsafeUnpin,
PhantomData<RcInner<dyn OutlinedBorder>>: UnsafeUnpin,
&'static FocusNodeVTable: UnsafeUnpin,
*const RcInner<Keep> is !null: UnsafeUnpin,
PhantomData<RcInner<Keep>>: UnsafeUnpin,
*const RcInner<dyn WidgetStateProperty<Option<Color>>> is !null: UnsafeUnpin,
PhantomData<RcInner<dyn WidgetStateProperty<Option<Color>>>>: UnsafeUnpin,
*const RcInner<dyn Fn(&IconThemeData, &mut App, AnyElement) -> IconThemeData> is !null: UnsafeUnpin,
PhantomData<RcInner<dyn Fn(&IconThemeData, &mut App, AnyElement) -> IconThemeData>>: UnsafeUnpin,
*const RcInner<dyn ShapeBorder> is !null: UnsafeUnpin,
PhantomData<RcInner<dyn ShapeBorder>>: UnsafeUnpin,
*const RcInner<dyn Curve> is !null: UnsafeUnpin,
PhantomData<RcInner<dyn Curve>>: UnsafeUnpin,
*const RcInner<dyn MouseCursor> is !null: UnsafeUnpin,
PhantomData<RcInner<dyn MouseCursor>>: 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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<W> IntoWidget<StatefulKind> for Wwhere
W: StatefulWidget,
impl<W> IntoWidget<StatefulKind> for Wwhere
W: StatefulWidget,
Source§fn into_widget(self) -> Rc<dyn Widget>
fn into_widget(self) -> Rc<dyn Widget>
creation_location.