pub enum EntryPoint {
None,
Default,
Custom(String),
}
Available on crate feature
default
only.Expand description
The EntryPoint
of a library benchmark
Variants§
None
Disable the entry point and default toggle entirely
Default
The default entry point is the benchmark function
Custom(String)
A custom entry point. The argument allows the same glob patterns as the
--toggle-collect
argument of callgrind.
Trait Implementations§
source§impl Clone for EntryPoint
impl Clone for EntryPoint
source§fn clone(&self) -> EntryPoint
fn clone(&self) -> EntryPoint
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 EntryPoint
impl Debug for EntryPoint
source§impl Default for EntryPoint
impl Default for EntryPoint
source§fn default() -> EntryPoint
fn default() -> EntryPoint
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for EntryPoint
impl<'de> Deserialize<'de> for EntryPoint
source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<EntryPoint, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<EntryPoint, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl<T> From<T> for EntryPoint
impl<T> From<T> for EntryPoint
source§fn from(value: T) -> EntryPoint
fn from(value: T) -> EntryPoint
Converts to this type from the input type.
source§impl PartialEq for EntryPoint
impl PartialEq for EntryPoint
source§impl Serialize for EntryPoint
impl Serialize for EntryPoint
source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)