Skip to main content

SubjectDecl

Struct SubjectDecl 

Source
pub struct SubjectDecl { /* private fields */ }
Expand description

One program in a multi-subject benchmark, as written in tak.toml: either a shared [subject.NAME] or a benchmark’s [bench.B.subject.NAME].

Trait Implementations§

Source§

impl Debug for SubjectDecl

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl<'de> Deserialize<'de> for SubjectDecl

Source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
where __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more

Auto Trait Implementations§

§

impl Forget for SubjectDecl

§

impl Freeze for SubjectDecl
where *const u8 is !null: Freeze, PhantomData<String>: Freeze, PhantomData<u8>: Freeze, PhantomData<i64>: Freeze, *const LeafNode<String, String> is !null: Freeze, PhantomData<(Owned, LeafOrInternal)>: Freeze, PhantomData<Box<(String, String)>>: Freeze, *const LeafNode<String, MetricDecl> is !null: Freeze, PhantomData<Box<(String, MetricDecl)>>: Freeze,

§

impl Move for SubjectDecl

§

impl RefUnwindSafe for SubjectDecl

§

impl Send for SubjectDecl
where RawVecInner: Send, NodeRef<Owned, String, String, LeafOrInternal>: Send, BoxRaw<(String, String)>: Send, NodeRef<Owned, String, MetricDecl, LeafOrInternal>: Send, BoxRaw<(String, MetricDecl)>: Send,

§

impl Sync for SubjectDecl
where RawVecInner: Sync, NodeRef<Owned, String, String, LeafOrInternal>: Sync, BoxRaw<(String, String)>: Sync, NodeRef<Owned, String, MetricDecl, LeafOrInternal>: Sync, BoxRaw<(String, MetricDecl)>: Sync,

§

impl Unpin for SubjectDecl
where *const u8 is !null: Unpin, *const LeafNode<String, String> is !null: Unpin, Box<(String, String)>: Unpin, *const LeafNode<String, MetricDecl> is !null: Unpin, Box<(String, MetricDecl)>: Unpin,

§

impl UnsafeUnpin for SubjectDecl

§

impl UnwindSafe for SubjectDecl
where RawVecInner: UnwindSafe, BTreeMap<String, String>: UnwindSafe, BTreeMap<String, MetricDecl>: UnwindSafe,

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> DeserializeOwned for T
where T: for<'de> Deserialize<'de>,

Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = !

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, !>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.