pub struct Family(/* private fields */);Expand description
One refusal’s issue space, named by its declarer.
Implementations§
Source§impl Family
impl Family
Sourcepub const fn declared(name: &'static str) -> Self
pub const fn declared(name: &'static str) -> Self
Declare one family under its owner’s namespace.
The shape is namespace/stem, checked where the constant is written: a name that carries no namespace is a name two crates could write.
§Panics
Stops const evaluation — the build, for the const items this is written for — on a name without an interior /.
Trait Implementations§
impl Copy for Family
impl Eq for Family
impl StructuralPartialEq for Family
Auto Trait Implementations§
impl Freeze for Family
impl RefUnwindSafe for Family
impl Send for Family
impl Sync for Family
impl Unpin for Family
impl UnsafeUnpin for Family
impl UnwindSafe for Family
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