pub struct EntryPoint {
pub name: String,
pub entry_type: EntryPointType,
pub line: u32,
pub column: u32,
pub line_range: (u32, u32),
pub full_path: Option<String>,
}
Expand description
Entry points found in the file
Fields§
§name: String
§entry_type: EntryPointType
§line: u32
§column: u32
§line_range: (u32, u32)
Line range of the entry point (start, end)
full_path: Option<String>
Full path for tests (e.g., “tests::it_works” for tests in a module)
Trait Implementations§
Source§impl Clone for EntryPoint
impl Clone for EntryPoint
Source§fn clone(&self) -> EntryPoint
fn clone(&self) -> EntryPoint
Returns a duplicate 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 EntryPoint
impl Debug for EntryPoint
Source§impl<'de> Deserialize<'de> for EntryPoint
impl<'de> Deserialize<'de> for EntryPoint
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 EntryPoint
impl PartialEq for EntryPoint
Source§impl Serialize for EntryPoint
impl Serialize for EntryPoint
impl StructuralPartialEq for EntryPoint
Auto Trait Implementations§
impl Freeze for EntryPoint
impl RefUnwindSafe for EntryPoint
impl Send for EntryPoint
impl Sync for EntryPoint
impl Unpin for EntryPoint
impl UnwindSafe for EntryPoint
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