pub struct Plugins<'a>(/* private fields */);
Expand description
Implementations§
Source§impl<'a> Plugins<'a>
impl<'a> Plugins<'a>
pub fn add_borrowed<'b>( &'b mut self, plugin: (&'a str, &'a str), ) -> &'b mut Self
👎Deprecated since 1.0.0: please use
push_borrowed
insteadSourcepub fn push_borrowed<'b>(
&'b mut self,
plugin: (&'a str, &'a str),
) -> &'b mut Self
pub fn push_borrowed<'b>( &'b mut self, plugin: (&'a str, &'a str), ) -> &'b mut Self
Pushes a plugin to the end of the borrowed Plugins
pub fn add(self, plugin: (&'a str, &'a str)) -> Self
👎Deprecated since 1.0.0: please use
push
insteadTrait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for Plugins<'a>
impl<'a> RefUnwindSafe for Plugins<'a>
impl<'a> Send for Plugins<'a>
impl<'a> Sync for Plugins<'a>
impl<'a> Unpin for Plugins<'a>
impl<'a> UnwindSafe for Plugins<'a>
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