pub struct Action { /* private fields */ }
Implementations
sourceimpl Action
impl Action
pub fn new(name: impl Into<String>, href: impl Into<String>) -> Self
pub fn class(self, class: impl Into<String>) -> Self
pub fn classes(self, classes: Vec<impl Into<String>>) -> Self
pub fn field(self, field: Field) -> Self
pub fn fields(self, fields: Vec<Field>) -> Self
pub fn method(self, method: impl Into<String>) -> Self
pub fn title(self, title: impl Into<String>) -> Self
pub fn tpye(self, tpye: impl Into<String>) -> Self
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Action
impl Send for Action
impl Sync for Action
impl Unpin for Action
impl UnwindSafe for Action
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more