pub struct OutlineBody {
pub span: (u32, u32),
pub hash: u64,
pub key: String,
pub refs: Vec<String>,
}Expand description
One outer function.
Fields§
§span: (u32, u32)The byte span of the body: the block with its braces, or the expression of an arrow.
hash: u64The hash of the function text: its name, parameters and body.
key: StringThe key of the function. Another version of the file gives the same function the same key.
refs: Vec<String>The names that the function text references, sorted.
Trait Implementations§
Source§impl Clone for OutlineBody
impl Clone for OutlineBody
Source§impl Debug for OutlineBody
impl Debug for OutlineBody
Source§impl<'de> Deserialize<'de> for OutlineBody
impl<'de> Deserialize<'de> for OutlineBody
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
impl Eq for OutlineBody
Source§impl PartialEq for OutlineBody
impl PartialEq for OutlineBody
Source§impl Serialize for OutlineBody
impl Serialize for OutlineBody
impl StructuralPartialEq for OutlineBody
Auto Trait Implementations§
impl Forget for OutlineBody
impl Freeze for OutlineBody
impl Move for OutlineBody
impl RefUnwindSafe for OutlineBody
impl Send for OutlineBodywhere
RawVecInner: Send,
impl Sync for OutlineBodywhere
RawVecInner: Sync,
impl Unpin for OutlineBody
impl UnsafeUnpin for OutlineBodywhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<String>: UnsafeUnpin,
impl UnwindSafe for OutlineBodywhere
RawVecInner: 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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
impl<T> ErasedDestructor for Twhere
T: 'static,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more