pub struct SymbolSlice {
pub file_path: String,
pub symbol_name: String,
pub content: String,
pub start_line: usize,
pub end_line: usize,
}Fields§
§file_path: String§symbol_name: String§content: String§start_line: usize§end_line: usizeTrait Implementations§
Source§impl Clone for SymbolSlice
impl Clone for SymbolSlice
Source§fn clone(&self) -> SymbolSlice
fn clone(&self) -> SymbolSlice
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 moreSource§impl Debug for SymbolSlice
impl Debug for SymbolSlice
Source§impl<'de> Deserialize<'de> for SymbolSlice
impl<'de> Deserialize<'de> for SymbolSlice
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for SymbolSlice
impl PartialEq for SymbolSlice
Source§fn eq(&self, other: &SymbolSlice) -> bool
fn eq(&self, other: &SymbolSlice) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for SymbolSlice
impl Serialize for SymbolSlice
impl Eq for SymbolSlice
impl StructuralPartialEq for SymbolSlice
Auto Trait Implementations§
impl Freeze for SymbolSlice
impl RefUnwindSafe for SymbolSlice
impl Send for SymbolSlice
impl Sync for SymbolSlice
impl Unpin for SymbolSlice
impl UnsafeUnpin for SymbolSlice
impl UnwindSafe for SymbolSlice
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