pub struct StepsItem {
pub id: Option<String>,
pub label: Option<String>,
pub url: Option<String>,
pub target: Option<String>,
pub disabled: bool,
pub tabindex: Option<i32>,
pub style: Option<String>,
pub command: Option<Callback<StepsCommand>>,
}Expand description
Steps item (instead of PrimeNG’s MenuItem, without router fields).
Fields§
§id: Option<String>id attribute of the item.
label: Option<String>Label.
url: Option<String>Link address; without it the link navigation is cancelled.
target: Option<String>target of the link.
disabled: boolDisabled.
tabindex: Option<i32>Custom tabindex of the link.
style: Option<String>Inline style of li.
command: Option<Callback<StepsCommand>>Command on item selection.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Forget for StepsItem
impl Freeze for StepsItem
impl Move for StepsItem
impl RefUnwindSafe for StepsItem
impl Send for StepsItem
impl Sync for StepsItem
impl Unpin for StepsItem
impl UnsafeUnpin for StepsItem
impl UnwindSafe for StepsItem
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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.