pub struct CoercionInfo { /* private fields */ }Implementations§
Source§impl CoercionInfo
impl CoercionInfo
pub fn mark_coercion(&mut self, span: Span, coercion: ReceiverCoercion)
pub fn get_coercion(&self, span: Span) -> Option<ReceiverCoercion>
Trait Implementations§
Source§impl Clone for CoercionInfo
impl Clone for CoercionInfo
Source§fn clone(&self) -> CoercionInfo
fn clone(&self) -> CoercionInfo
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 Debug for CoercionInfo
impl Debug for CoercionInfo
Source§impl Default for CoercionInfo
impl Default for CoercionInfo
Source§fn default() -> CoercionInfo
fn default() -> CoercionInfo
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for CoercionInfo
impl RefUnwindSafe for CoercionInfo
impl Send for CoercionInfo
impl Sync for CoercionInfo
impl Unpin for CoercionInfo
impl UnsafeUnpin for CoercionInfo
impl UnwindSafe for CoercionInfo
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