Struct cargo_doc2readme::input::ScopeEditor
source · [−]Fields
scope: &'a mut Scope
crate_name: &'a str
Implementations
sourceimpl<'a> ScopeEditor<'a>
impl<'a> ScopeEditor<'a>
fn new(scope: &'a mut Scope, crate_name: &'a str) -> Self
fn add_privmod(&mut self, ident: &Ident)
fn insert(&mut self, ident: &Ident, ty: LinkType)
fn insert_fun(&mut self, ident: &Ident)
fn insert_macro(&mut self, ident: &Ident)
fn insert_use_tree(&mut self, vis: &Visibility, tree: &UseTree)
fn insert_use_tree_impl(
&mut self,
vis: &Visibility,
prefix: String,
tree: &UseTree
)
fn insert_use_item(
&mut self,
vis: &Visibility,
prefix: &str,
rename: &Ident,
ident: &Ident
)
Auto Trait Implementations
impl<'a> RefUnwindSafe for ScopeEditor<'a>
impl<'a> Send for ScopeEditor<'a>
impl<'a> Sync for ScopeEditor<'a>
impl<'a> Unpin for ScopeEditor<'a>
impl<'a> !UnwindSafe for ScopeEditor<'a>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more