Struct checked_rs_macro_impl::params::struct_item::StructItem
source · pub struct StructItem {
pub vis: Visibility,
pub name: Ident,
pub mod_name: Ident,
}Fields§
§vis: Visibility§name: Ident§mod_name: IdentImplementations§
source§impl StructItem
impl StructItem
pub fn from_item(params: &AttrParams, item: &mut Item) -> Self
Auto Trait Implementations§
impl Freeze for StructItem
impl RefUnwindSafe for StructItem
impl !Send for StructItem
impl !Sync for StructItem
impl Unpin for StructItem
impl UnwindSafe for StructItem
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