pub struct Resolution {
pub kind: StructKind,
pub rust_path: String,
pub needs_lifetime: bool,
}Fields§
§kind: StructKind§rust_path: StringThe path to use in generated code (owned flavor without <'a>).
needs_lifetime: boolWhether the borrowed-flavor type for this struct carries a 'a lifetime
parameter (true for common structs with string/bytes/records fields, and
for nested structs whose fields recursively need a lifetime).
Trait Implementations§
Source§impl Clone for Resolution
impl Clone for Resolution
Source§fn clone(&self) -> Resolution
fn clone(&self) -> Resolution
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for Resolution
impl RefUnwindSafe for Resolution
impl Send for Resolution
impl Sync for Resolution
impl Unpin for Resolution
impl UnsafeUnpin for Resolution
impl UnwindSafe for Resolution
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