pub struct FluidState {
pub fluid: Fluid,
pub height: u8,
}
Fields§
§fluid: Fluid
§height: u8
Trait Implementations§
Source§impl Clone for FluidState
impl Clone for FluidState
Source§fn clone(&self) -> FluidState
fn clone(&self) -> FluidState
Returns a copy 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 FluidState
impl Debug for FluidState
Source§impl Default for FluidState
impl Default for FluidState
Source§impl From<BlockState> for FluidState
impl From<BlockState> for FluidState
Source§fn from(state: BlockState) -> Self
fn from(state: BlockState) -> Self
Converts to this type from the input type.
Source§impl From<FluidState> for BlockState
impl From<FluidState> for BlockState
Source§fn from(state: FluidState) -> Self
fn from(state: FluidState) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for FluidState
impl RefUnwindSafe for FluidState
impl Send for FluidState
impl Sync for FluidState
impl Unpin for FluidState
impl UnwindSafe for FluidState
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
)