#[repr(C)]pub struct SourceRegistry {}
Expand description
The SourceRegistry
is a store for the various data sources that is directly managed
by the SourceManager
. It is used to register and manage the
sources available in the system.
Implementations§
Source§impl SourceRegistry
impl SourceRegistry
Sourcepub const fn new() -> Self
pub const fn new() -> Self
create a new instance of the SourceRegistry
.
Trait Implementations§
Source§impl Clone for SourceRegistry
impl Clone for SourceRegistry
Source§fn clone(&self) -> SourceRegistry
fn clone(&self) -> SourceRegistry
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for SourceRegistry
impl Debug for SourceRegistry
Source§impl Default for SourceRegistry
impl Default for SourceRegistry
Source§fn default() -> SourceRegistry
fn default() -> SourceRegistry
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for SourceRegistry
impl<'de> Deserialize<'de> for SourceRegistry
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Hash for SourceRegistry
impl Hash for SourceRegistry
Source§impl Ord for SourceRegistry
impl Ord for SourceRegistry
Source§fn cmp(&self, other: &SourceRegistry) -> Ordering
fn cmp(&self, other: &SourceRegistry) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for SourceRegistry
impl PartialEq for SourceRegistry
Source§impl PartialOrd for SourceRegistry
impl PartialOrd for SourceRegistry
Source§impl Serialize for SourceRegistry
impl Serialize for SourceRegistry
impl Eq for SourceRegistry
impl StructuralPartialEq for SourceRegistry
Auto Trait Implementations§
impl Freeze for SourceRegistry
impl RefUnwindSafe for SourceRegistry
impl Send for SourceRegistry
impl Sync for SourceRegistry
impl Unpin for SourceRegistry
impl UnwindSafe for SourceRegistry
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