pub struct AddAttributeParams<'a> {
pub attribute: &'a str,
pub feature: &'a str,
pub element: &'a str,
pub class: &'a str,
pub default_value: Option<&'a str>,
pub internal: Option<&'a str>,
pub required: Option<&'a str>,
}Expand description
Parameters for adding an attribute
Fields§
§attribute: &'a str§feature: &'a str§element: &'a str§class: &'a str§default_value: Option<&'a str>§internal: Option<&'a str>§required: Option<&'a str>Trait Implementations§
Source§impl<'a> Clone for AddAttributeParams<'a>
impl<'a> Clone for AddAttributeParams<'a>
Source§fn clone(&self) -> AddAttributeParams<'a>
fn clone(&self) -> AddAttributeParams<'a>
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<'a> Debug for AddAttributeParams<'a>
impl<'a> Debug for AddAttributeParams<'a>
Auto Trait Implementations§
impl<'a> Freeze for AddAttributeParams<'a>
impl<'a> RefUnwindSafe for AddAttributeParams<'a>
impl<'a> Send for AddAttributeParams<'a>
impl<'a> Sync for AddAttributeParams<'a>
impl<'a> Unpin for AddAttributeParams<'a>
impl<'a> UnsafeUnpin for AddAttributeParams<'a>
impl<'a> UnwindSafe for AddAttributeParams<'a>
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