Struct Resolved Product
pub struct ResolvedProduct<'a> { /* private fields */ }Expand description
A validated product with resolved parameter IDs and format identities.
Implementations§
§impl<'a> ResolvedProduct<'a>
impl<'a> ResolvedProduct<'a>
pub fn product(&self) -> &Product<'a>
pub fn parameter_ids(&self) -> &[ParameterId]
pub fn parameter_ids(&self) -> &[ParameterId]
Host IDs in declaration order.
pub fn parameter_index(&self, id: ParameterId) -> Option<usize>
pub fn parameter_index(&self, id: ParameterId) -> Option<usize>
Declaration index of a host ID.
pub fn parameter_index_by_key(&self, key: &str) -> Option<usize>
pub fn parameter_index_by_key(&self, key: &str) -> Option<usize>
Declaration index of a parameter key.
pub fn bypass_index(&self) -> Option<usize>
pub fn bypass_index(&self) -> Option<usize>
Declaration index of the bypass parameter, if the product has one.
pub fn identities(&self) -> &Identities
Trait Implementations§
§impl<'a> Clone for ResolvedProduct<'a>
impl<'a> Clone for ResolvedProduct<'a>
§fn clone(&self) -> ResolvedProduct<'a>
fn clone(&self) -> ResolvedProduct<'a>
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · §fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl<'a> Freeze for ResolvedProduct<'a>
impl<'a> RefUnwindSafe for ResolvedProduct<'a>
impl<'a> Send for ResolvedProduct<'a>
impl<'a> Sync for ResolvedProduct<'a>
impl<'a> Unpin for ResolvedProduct<'a>
impl<'a> UnsafeUnpin for ResolvedProduct<'a>
impl<'a> UnwindSafe for ResolvedProduct<'a>
Blanket Implementations§
impl<T> AutoreleaseSafe for T
§impl<T> BorrowMut<T> for T
impl<T> BorrowMut<T> for T
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more