#[non_exhaustive]pub struct InputPartStyle(pub Style);Expand description
The style of a component’s part that edits text (a number input’s
field, a select’s search field): a Style whose TypeScript type takes
the input styles too (StyleProp<InputStyle>: the text styles and
placeholderColor, caretColor, selectionColor). As
TextPartStyle, its setter takes the typed styles’ closure.
Tuple Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.0: StyleTrait Implementations§
Source§impl Clone for InputPartStyle
impl Clone for InputPartStyle
Source§impl Debug for InputPartStyle
impl Debug for InputPartStyle
Source§impl Default for InputPartStyle
impl Default for InputPartStyle
Source§impl From<InputPartStyle> for Style
impl From<InputPartStyle> for Style
Source§fn from(style: InputPartStyle) -> Self
fn from(style: InputPartStyle) -> Self
Converts to this type from the input type.
Source§impl From<Style> for InputPartStyle
impl From<Style> for InputPartStyle
Source§impl From<StyleRefinement> for InputPartStyle
impl From<StyleRefinement> for InputPartStyle
Source§fn from(style: StyleRefinement) -> Self
fn from(style: StyleRefinement) -> Self
Converts to this type from the input type.
Source§impl JsValue for InputPartStyle
impl JsValue for InputPartStyle
Source§impl PartialEq for InputPartStyle
impl PartialEq for InputPartStyle
impl StructuralPartialEq for InputPartStyle
Auto Trait Implementations§
impl !RefUnwindSafe for InputPartStyle
impl !Send for InputPartStyle
impl !Sync for InputPartStyle
impl !UnwindSafe for InputPartStyle
impl Forget for InputPartStyle
impl Freeze for InputPartStylewhere
*const RcInner<StylePatch> is !null: Freeze,
PhantomData<RcInner<StylePatch>>: Freeze,
*const RcInner<Vec<(Variant, Declaration)>> is !null: Freeze,
PhantomData<RcInner<Vec<(Variant, Declaration)>>>: Freeze,
*const u8 is !null: Freeze,
PhantomData<&'static str>: Freeze,
PhantomData<Rc<dyn Fn(&mut StyleRefinement)>>: Freeze,
impl Move for InputPartStyle
impl Unpin for InputPartStyle
impl UnsafeUnpin for InputPartStylewhere
*const RcInner<StylePatch> is !null: UnsafeUnpin,
PhantomData<RcInner<StylePatch>>: UnsafeUnpin,
*const RcInner<Vec<(Variant, Declaration)>> is !null: UnsafeUnpin,
PhantomData<RcInner<Vec<(Variant, Declaration)>>>: UnsafeUnpin,
*const u8 is !null: UnsafeUnpin,
PhantomData<&'static str>: UnsafeUnpin,
PhantomData<Rc<dyn Fn(&mut StyleRefinement)>>: 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
Source§impl<T> CallbackArgs for Twhere
T: Ret,
impl<T> CallbackArgs for Twhere
T: Ret,
Source§fn ts_params(types: &mut TsTypes, names: &[&str]) -> String
fn ts_params(types: &mut TsTypes, names: &[&str]) -> String
Its TypeScript parameters, named
names (name: string, amount: number), or without names value for one and a, b, … for
several.Source§fn into_js_args<'a>(
self,
host: &'a dyn JsHost,
) -> Result<Vec<JsOwned<'a>>, PropError>
fn into_js_args<'a>( self, host: &'a dyn JsHost, ) -> Result<Vec<JsOwned<'a>>, PropError>
The arguments as JS values.