pub struct ServiceDeclaration {
pub name: &'static str,
/* private fields */
}Fields§
§name: &'static strImplementations§
Source§impl ServiceDeclaration
impl ServiceDeclaration
pub fn of<K: ServiceKey>() -> Self
Trait Implementations§
Source§impl Clone for ServiceDeclaration
impl Clone for ServiceDeclaration
Source§fn clone(&self) -> ServiceDeclaration
fn clone(&self) -> ServiceDeclaration
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for ServiceDeclaration
Source§impl Debug for ServiceDeclaration
impl Debug for ServiceDeclaration
impl Eq for ServiceDeclaration
Source§impl PartialEq for ServiceDeclaration
impl PartialEq for ServiceDeclaration
impl StructuralPartialEq for ServiceDeclaration
Auto Trait Implementations§
impl Freeze for ServiceDeclaration
impl RefUnwindSafe for ServiceDeclaration
impl Send for ServiceDeclaration
impl Sync for ServiceDeclaration
impl Unpin for ServiceDeclaration
impl UnsafeUnpin for ServiceDeclaration
impl UnwindSafe for ServiceDeclaration
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