pub struct MatlabAnnotation {
pub summary: String,
pub description: Option<String>,
pub inputs: Vec<(String, String)>,
pub outputs: Vec<(String, String)>,
pub examples: Vec<String>,
pub see_also: Vec<String>,
}Expand description
A MATLAB function documentation annotation.
Fields§
§summary: StringShort summary line.
description: Option<String>Long description.
inputs: Vec<(String, String)>Input parameter descriptions (name, description).
outputs: Vec<(String, String)>Output descriptions (name, description).
examples: Vec<String>Example lines.
see_also: Vec<String>See-also references.
Implementations§
Trait Implementations§
Source§impl Clone for MatlabAnnotation
impl Clone for MatlabAnnotation
Source§fn clone(&self) -> MatlabAnnotation
fn clone(&self) -> MatlabAnnotation
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for MatlabAnnotation
impl Debug for MatlabAnnotation
Source§impl PartialEq for MatlabAnnotation
impl PartialEq for MatlabAnnotation
impl StructuralPartialEq for MatlabAnnotation
Auto Trait Implementations§
impl Freeze for MatlabAnnotation
impl RefUnwindSafe for MatlabAnnotation
impl Send for MatlabAnnotation
impl Sync for MatlabAnnotation
impl Unpin for MatlabAnnotation
impl UnsafeUnpin for MatlabAnnotation
impl UnwindSafe for MatlabAnnotation
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