pub struct BootstrapDocstring {
pub description: Option<String>,
pub arguments: HashMap<String, String>,
pub generics: HashMap<String, String>,
pub returns: Option<String>,
pub deprecated: Option<Deprecation>,
}Fields§
§description: Option<String>§arguments: HashMap<String, String>§generics: HashMap<String, String>§returns: Option<String>§deprecated: Option<Deprecation>Implementations§
Source§impl BootstrapDocstring
impl BootstrapDocstring
pub fn from_attrs( name: &String, attrs: Vec<Attribute>, output: &ReturnType, rust_path: Option<String>, features: Vec<String>, ) -> Result<BootstrapDocstring>
Trait Implementations§
Source§impl Debug for BootstrapDocstring
impl Debug for BootstrapDocstring
Source§impl Default for BootstrapDocstring
impl Default for BootstrapDocstring
Source§fn default() -> BootstrapDocstring
fn default() -> BootstrapDocstring
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for BootstrapDocstring
impl RefUnwindSafe for BootstrapDocstring
impl Send for BootstrapDocstring
impl Sync for BootstrapDocstring
impl Unpin for BootstrapDocstring
impl UnwindSafe for BootstrapDocstring
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