pub struct ParameterRef<'a> { /* private fields */ }Expand description
Read-only information about a registered parameter.
Implementations§
Source§impl<'a> ParameterRef<'a>
impl<'a> ParameterRef<'a>
pub const fn id(self) -> ParamId
pub fn name(self) -> &'a str
pub const fn distribution(self) -> &'a Distribution
Trait Implementations§
Source§impl<'a> Clone for ParameterRef<'a>
impl<'a> Clone for ParameterRef<'a>
Source§fn clone(&self) -> ParameterRef<'a>
fn clone(&self) -> ParameterRef<'a>
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl<'a> Copy for ParameterRef<'a>
Auto Trait Implementations§
impl<'a> Freeze for ParameterRef<'a>
impl<'a> RefUnwindSafe for ParameterRef<'a>
impl<'a> Send for ParameterRef<'a>
impl<'a> Sync for ParameterRef<'a>
impl<'a> Unpin for ParameterRef<'a>
impl<'a> UnsafeUnpin for ParameterRef<'a>
impl<'a> UnwindSafe for ParameterRef<'a>
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