Struct aide::transform::TransformParameter
source · pub struct TransformParameter<'t, T> { /* private fields */ }
Expand description
A transform helper that wraps Parameter
.
An additional type is provided for strongly-typed examples.
Implementations§
source§impl<'t, T> TransformParameter<'t, T>
impl<'t, T> TransformParameter<'t, T>
Hide the parameter from the documentation.
This is taken into account by generators provided by this library.
Hiding an item causes it to be ignored completely, there is no way to restore or “unhide” it afterwards.
sourcepub fn description(self, desc: &str) -> Self
pub fn description(self, desc: &str) -> Self
Provide or override the description of the parameter.
Auto Trait Implementations§
impl<'t, T> RefUnwindSafe for TransformParameter<'t, T>where T: RefUnwindSafe,
impl<'t, T> Send for TransformParameter<'t, T>where T: Send,
impl<'t, T> Sync for TransformParameter<'t, T>where T: Sync,
impl<'t, T> Unpin for TransformParameter<'t, T>where T: Unpin,
impl<'t, T> !UnwindSafe for TransformParameter<'t, T>
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