struct Parameters {
self_var: Ident,
this_type: Path,
this_value: Path,
generics: Generics,
is_remote: bool,
is_packed: bool,
}Fields§
§self_var: IdentVariable holding the value being serialized. Either self for local
types or __self for remote types.
this_type: PathPath to the type the impl is for. Either a single Ident for local
types (does not include generic parameters) or some::remote::Path for
remote types.
this_value: PathSame as this_type but using ::<T> for generic parameters for use in
expression position.
generics: GenericsGenerics including any explicit and inferred bounds for the impl.
is_remote: boolType has a serde(remote = "...") attribute.
is_packed: boolType has a repr(packed) attribute.
Implementations§
Auto Trait Implementations§
impl Freeze for Parameters
impl RefUnwindSafe for Parameters
impl !Send for Parameters
impl !Sync for Parameters
impl Unpin for Parameters
impl UnwindSafe for Parameters
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