pub struct ContextMenuRadioGroupProps<__ImplTrait0: IntoView + 'static> {
pub value: MaybeProp<String>,
pub on_value_change: Option<Callback<String>>,
pub as_child: MaybeProp<bool>,
pub node_ref: AnyNodeRef,
pub children: TypedChildrenFn<__ImplTrait0>,
}Expand description
Props for the ContextMenuRadioGroup component.
§Required Props
- children:
TypedChildrenFn<__ImplTrait0>
§Optional Props
- value:
impl Into<MaybeProp<String>> - on_value_change:
impl Into<Callback<String>> - as_child:
impl Into<MaybeProp<bool>> - node_ref:
impl Into<AnyNodeRef>
Fields§
§value: MaybeProp<String>§on_value_change: Option<Callback<String>>§as_child: MaybeProp<bool>§node_ref: AnyNodeRef§children: TypedChildrenFn<__ImplTrait0>Implementations§
Source§impl<__ImplTrait0: IntoView + 'static> ContextMenuRadioGroupProps<__ImplTrait0>
impl<__ImplTrait0: IntoView + 'static> ContextMenuRadioGroupProps<__ImplTrait0>
Sourcepub fn builder() -> ContextMenuRadioGroupPropsBuilder<__ImplTrait0, ((), (), (), (), ())>
pub fn builder() -> ContextMenuRadioGroupPropsBuilder<__ImplTrait0, ((), (), (), (), ())>
Create a builder for building ContextMenuRadioGroupProps.
On the builder, call .value(...)(optional), .on_value_change(...)(optional), .as_child(...)(optional), .node_ref(...)(optional), .children(...) to set the values of the fields.
Finally, call .build() to create the instance of ContextMenuRadioGroupProps.
Trait Implementations§
Auto Trait Implementations§
impl<__ImplTrait0> Freeze for ContextMenuRadioGroupProps<__ImplTrait0>
impl<__ImplTrait0> !RefUnwindSafe for ContextMenuRadioGroupProps<__ImplTrait0>
impl<__ImplTrait0> Send for ContextMenuRadioGroupProps<__ImplTrait0>
impl<__ImplTrait0> Sync for ContextMenuRadioGroupProps<__ImplTrait0>
impl<__ImplTrait0> Unpin for ContextMenuRadioGroupProps<__ImplTrait0>
impl<__ImplTrait0> UnsafeUnpin for ContextMenuRadioGroupProps<__ImplTrait0>
impl<__ImplTrait0> !UnwindSafe for ContextMenuRadioGroupProps<__ImplTrait0>
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> 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 moreSource§impl<T> SerializableKey for T
impl<T> SerializableKey for T
Source§impl<T> StorageAccess<T> for T
impl<T> StorageAccess<T> for T
Source§fn as_borrowed(&self) -> &T
fn as_borrowed(&self) -> &T
Borrows the value.
Source§fn into_taken(self) -> T
fn into_taken(self) -> T
Takes the value.