Struct UnknownFluid
#[non_exhaustive]pub struct UnknownFluid {
pub mod_id: &'static str,
pub id: String,
}Expand description
A fluid requested by a mod but absent from the completed registry.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.mod_id: &'static strMod that requested the fluid.
id: StringCanonical fluid identifier.
Trait Implementations§
§impl Clone for UnknownFluid
impl Clone for UnknownFluid
§fn clone(&self) -> UnknownFluid
fn clone(&self) -> UnknownFluid
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 more§impl Debug for UnknownFluid
impl Debug for UnknownFluid
§impl Display for UnknownFluid
impl Display for UnknownFluid
impl Eq for UnknownFluid
§impl PartialEq for UnknownFluid
impl PartialEq for UnknownFluid
impl StructuralPartialEq for UnknownFluid
Auto Trait Implementations§
impl Freeze for UnknownFluid
impl RefUnwindSafe for UnknownFluid
impl Send for UnknownFluid
impl Sync for UnknownFluid
impl Unpin for UnknownFluid
impl UnsafeUnpin for UnknownFluid
impl UnwindSafe for UnknownFluid
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