pub struct AttrParams {
pub enum_: Vec<&'static str>,
pub variant: Vec<&'static str>,
pub struct_: Vec<&'static str>,
pub field: Vec<&'static str>,
}
Fields§
§enum_: Vec<&'static str>
§variant: Vec<&'static str>
§struct_: Vec<&'static str>
§field: Vec<&'static str>
Implementations§
source§impl AttrParams
impl AttrParams
pub fn new(params: Vec<&'static str>) -> AttrParams
pub fn struct_(params: Vec<&'static str>) -> AttrParams
pub fn ignore_and_forward() -> AttrParams
Trait Implementations§
source§impl Clone for AttrParams
impl Clone for AttrParams
source§fn clone(&self) -> AttrParams
fn clone(&self) -> AttrParams
Returns a copy 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 Default for AttrParams
impl Default for AttrParams
source§fn default() -> AttrParams
fn default() -> AttrParams
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for AttrParams
impl RefUnwindSafe for AttrParams
impl Send for AttrParams
impl Sync for AttrParams
impl Unpin for AttrParams
impl UnwindSafe for AttrParams
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§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)