pub struct PickingStyle {Show 59 fields
pub aspect_ratio: Option<Option<f32>>,
pub display: Option<Display>,
pub overflow_x: Option<OverflowAxis>,
pub overflow_y: Option<OverflowAxis>,
pub position: Option<PositionType>,
pub top: Option<Val>,
pub right: Option<Val>,
pub bottom: Option<Val>,
pub left: Option<Val>,
pub z_index: Option<i32>,
pub flex_basis: Option<Val>,
pub flex_direction: Option<FlexDirection>,
pub flex_wrap: Option<FlexWrap>,
pub flex_grow: Option<f32>,
pub flex_shrink: Option<f32>,
pub grid_template_columns: Option<Vec<RepeatedGridTrack>>,
pub grid_template_rows: Option<Vec<RepeatedGridTrack>>,
pub grid_auto_flow: Option<GridAutoFlow>,
pub grid_auto_columns: Option<Vec<GridTrack>>,
pub grid_auto_rows: Option<Vec<GridTrack>>,
pub column_gap: Option<Val>,
pub row_gap: Option<Val>,
pub justify_content: Option<JustifyContent>,
pub justify_items: Option<JustifyItems>,
pub justify_self: Option<JustifySelf>,
pub align_content: Option<AlignContent>,
pub align_items: Option<AlignItems>,
pub align_self: Option<AlignSelf>,
pub padding_top: Option<Val>,
pub padding_right: Option<Val>,
pub padding_bottom: Option<Val>,
pub padding_left: Option<Val>,
pub margin_top: Option<Val>,
pub margin_right: Option<Val>,
pub margin_bottom: Option<Val>,
pub margin_left: Option<Val>,
pub width: Option<Val>,
pub min_width: Option<Val>,
pub max_width: Option<Val>,
pub height: Option<Val>,
pub min_height: Option<Val>,
pub max_height: Option<Val>,
pub font_size: Option<f32>,
pub text_justity: Option<JustifyText>,
pub text_color: Option<Color>,
pub text_linebreak: Option<LineBreak>,
pub background_color: Option<Color>,
pub border_radius_tl: Option<Val>,
pub border_radius_tr: Option<Val>,
pub border_radius_br: Option<Val>,
pub border_radius_bl: Option<Val>,
pub border_top: Option<Val>,
pub border_right: Option<Val>,
pub border_bottom: Option<Val>,
pub border_left: Option<Val>,
pub border_color: Option<Color>,
pub outline_width: Option<Val>,
pub outline_color: Option<Color>,
pub outline_offset: Option<Val>,
}
Fields§
§aspect_ratio: Option<Option<f32>>
§display: Option<Display>
§overflow_x: Option<OverflowAxis>
§overflow_y: Option<OverflowAxis>
§position: Option<PositionType>
§top: Option<Val>
§right: Option<Val>
§bottom: Option<Val>
§left: Option<Val>
§z_index: Option<i32>
§flex_basis: Option<Val>
§flex_direction: Option<FlexDirection>
§flex_wrap: Option<FlexWrap>
§flex_grow: Option<f32>
§flex_shrink: Option<f32>
§grid_template_columns: Option<Vec<RepeatedGridTrack>>
§grid_template_rows: Option<Vec<RepeatedGridTrack>>
§grid_auto_flow: Option<GridAutoFlow>
§grid_auto_columns: Option<Vec<GridTrack>>
§grid_auto_rows: Option<Vec<GridTrack>>
§column_gap: Option<Val>
§row_gap: Option<Val>
§justify_content: Option<JustifyContent>
§justify_items: Option<JustifyItems>
§justify_self: Option<JustifySelf>
§align_content: Option<AlignContent>
§align_items: Option<AlignItems>
§align_self: Option<AlignSelf>
§padding_top: Option<Val>
§padding_right: Option<Val>
§padding_bottom: Option<Val>
§padding_left: Option<Val>
§margin_top: Option<Val>
§margin_right: Option<Val>
§margin_bottom: Option<Val>
§margin_left: Option<Val>
§width: Option<Val>
§min_width: Option<Val>
§max_width: Option<Val>
§height: Option<Val>
§min_height: Option<Val>
§max_height: Option<Val>
§font_size: Option<f32>
§text_justity: Option<JustifyText>
§text_color: Option<Color>
§text_linebreak: Option<LineBreak>
§background_color: Option<Color>
§border_radius_tl: Option<Val>
§border_radius_tr: Option<Val>
§border_radius_br: Option<Val>
§border_radius_bl: Option<Val>
§border_top: Option<Val>
§border_right: Option<Val>
§border_bottom: Option<Val>
§border_left: Option<Val>
§border_color: Option<Color>
§outline_width: Option<Val>
§outline_color: Option<Color>
§outline_offset: Option<Val>
Trait Implementations§
Source§impl Default for PickingStyle
impl Default for PickingStyle
Source§fn default() -> PickingStyle
fn default() -> PickingStyle
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for PickingStyle
impl RefUnwindSafe for PickingStyle
impl Send for PickingStyle
impl Sync for PickingStyle
impl Unpin for PickingStyle
impl UnwindSafe for PickingStyle
Blanket Implementations§
Source§impl<T, U> AsBindGroupShaderType<U> for T
impl<T, U> AsBindGroupShaderType<U> for T
Source§fn as_bind_group_shader_type(&self, _images: &RenderAssets<GpuImage>) -> U
fn as_bind_group_shader_type(&self, _images: &RenderAssets<GpuImage>) -> U
Return the
T
ShaderType
for self
. When used in AsBindGroup
derives, it is safe to assume that all images in self
exist.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
Source§impl<T> Downcast for Twhere
T: Any,
impl<T> Downcast for Twhere
T: Any,
Source§fn into_any(self: Box<T>) -> Box<dyn Any>
fn into_any(self: Box<T>) -> Box<dyn Any>
Converts
Box<dyn Trait>
(where Trait: Downcast
) to Box<dyn Any>
, which can then be
downcast
into Box<dyn ConcreteType>
where ConcreteType
implements Trait
.Source§fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
Converts
Rc<Trait>
(where Trait: Downcast
) to Rc<Any>
, which can then be further
downcast
into Rc<ConcreteType>
where ConcreteType
implements Trait
.Source§fn as_any(&self) -> &(dyn Any + 'static)
fn as_any(&self) -> &(dyn Any + 'static)
Converts
&Trait
(where Trait: Downcast
) to &Any
. This is needed since Rust cannot
generate &Any
’s vtable from &Trait
’s.Source§fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
Converts
&mut Trait
(where Trait: Downcast
) to &Any
. This is needed since Rust cannot
generate &mut Any
’s vtable from &mut Trait
’s.Source§impl<T> DowncastSend for T
impl<T> DowncastSend for T
Source§impl<T> FromWorld for Twhere
T: Default,
impl<T> FromWorld for Twhere
T: Default,
Source§fn from_world(_world: &mut World) -> T
fn from_world(_world: &mut World) -> T
Creates Self
using default()
.
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more