Struct amfnengine::core::elem_summary::ElemSummary [−]
Implementations
impl ElemSummary
Element summary implementation.
pub fn new(
name_param: &str,
label_param: &str,
label_expr_param: &str,
result_param: &str,
result_expr_param: &str
) -> ElemSummary
name_param: &str,
label_param: &str,
label_expr_param: &str,
result_param: &str,
result_expr_param: &str
) -> ElemSummary
Create a new summary element.
Arguments
name_param
- Summary element name.label_param
- Label parameter.label_expr_param
- Label expression.result_param
- Result parameter.result_expr_param
- Result expression.
Return
- See description.
pub fn name(&self) -> &str
pub fn label(&self) -> &str
pub fn label_expr(&self) -> &str
pub fn result(&self) -> &str
pub fn result_expr(&self) -> &str
pub fn set_name(&mut self, name_param: &str)
pub fn set_label(&mut self, label_param: &str)
pub fn set_label_expr(&mut self, label_expr_param: &str)
pub fn set_result(&mut self, result_param: &str)
pub fn set_result_expr(&mut self, result_expr_param: &str)
Auto Trait Implementations
impl RefUnwindSafe for ElemSummary
impl Send for ElemSummary
impl Sync for ElemSummary
impl Unpin for ElemSummary
impl UnwindSafe for ElemSummary
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,