pub enum SelfType {
None,
Value,
Reference,
}
Expand description
表示方法中self参数的类型
Variants§
Implementations§
Trait Implementations§
impl StructuralPartialEq for SelfType
Auto Trait Implementations§
impl Freeze for SelfType
impl RefUnwindSafe for SelfType
impl Send for SelfType
impl Sync for SelfType
impl Unpin for SelfType
impl UnwindSafe for SelfType
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