pub struct Id<T>(/* private fields */);
Implementations§
Trait Implementations§
Source§impl<T> Apply for Id<T>
impl<T> Apply for Id<T>
type Parent = T
fn apply_to_base(&self, _: &mut Self::Parent, _: &mut Vec<ApplyError>)
Source§impl<T> Replace for Id<T>
impl<T> Replace for Id<T>
fn is_unchanged(&self) -> bool
fn is_replaced(&self) -> bool
impl<T: Copy> Copy for Id<T>
impl<T: Eq> Eq for Id<T>
impl<T> StructuralPartialEq for Id<T>
Auto Trait Implementations§
impl<T> Freeze for Id<T>
impl<T> RefUnwindSafe for Id<T>where
T: RefUnwindSafe,
impl<T> Send for Id<T>where
T: Send,
impl<T> Sync for Id<T>where
T: Sync,
impl<T> Unpin for Id<T>where
T: Unpin,
impl<T> UnwindSafe for Id<T>where
T: UnwindSafe,
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