Struct project2::HoverBlock
source · pub struct HoverBlock {
pub text: String,
pub kind: HoverBlockKind,
}
Fields§
§text: String
§kind: HoverBlockKind
Trait Implementations§
source§impl Clone for HoverBlock
impl Clone for HoverBlock
source§fn clone(&self) -> HoverBlock
fn clone(&self) -> HoverBlock
Returns a copy 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 HoverBlock
impl Debug for HoverBlock
source§impl PartialEq<HoverBlock> for HoverBlock
impl PartialEq<HoverBlock> for HoverBlock
source§fn eq(&self, other: &HoverBlock) -> bool
fn eq(&self, other: &HoverBlock) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for HoverBlock
Auto Trait Implementations§
impl RefUnwindSafe for HoverBlock
impl Send for HoverBlock
impl Sync for HoverBlock
impl Unpin for HoverBlock
impl UnwindSafe for HoverBlock
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