pub struct Source { /* private fields */ }
Expand description
The source of a drop.
Implementations§
Source§impl Source
impl Source
Sourcepub fn main_registry() -> &'static Self
pub fn main_registry() -> &'static Self
A drop source for the main Ocean registry.
Sourcepub const fn from_registry(url: Url) -> Self
pub const fn from_registry(url: Url) -> Self
A drop source at a Url
for an Ocean registry.
Sourcepub const fn from_git_at(url: Url, reference: Ref) -> Self
pub const fn from_git_at(url: Url, reference: Ref) -> Self
A drop source at a Url
for a git repository at a specific reference.
Trait Implementations§
impl Eq for Source
impl StructuralPartialEq for Source
Auto Trait Implementations§
impl Freeze for Source
impl RefUnwindSafe for Source
impl Send for Source
impl Sync for Source
impl Unpin for Source
impl UnwindSafe for Source
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)