pub struct Items<'a, 'b> { /* private fields */ }Expand description
Item import builder.
Implementations§
Source§impl<'a, 'b> Items<'a, 'b>
impl<'a, 'b> Items<'a, 'b>
Sourcepub fn item(self, item: impl Into<String>) -> Self
pub fn item(self, item: impl Into<String>) -> Self
Imports the given item, as by:
import module:
- itemSourcepub fn items(self, items: impl IntoIterator<Item = impl Into<String>>) -> Self
pub fn items(self, items: impl IntoIterator<Item = impl Into<String>>) -> Self
Imports the given items, as by:
import module:
- item
- ...Auto Trait Implementations§
impl<'a, 'b> Freeze for Items<'a, 'b>
impl<'a, 'b> !RefUnwindSafe for Items<'a, 'b>
impl<'a, 'b> !Send for Items<'a, 'b>
impl<'a, 'b> !Sync for Items<'a, 'b>
impl<'a, 'b> Unpin for Items<'a, 'b>
impl<'a, 'b> UnsafeUnpin for Items<'a, 'b>
impl<'a, 'b> !UnwindSafe for Items<'a, 'b>
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