Struct salva3d::object::FluidHandle
source · pub struct FluidHandle(/* private fields */);
Expand description
The unique identifier of a boundary object.
Trait Implementations§
source§impl Clone for FluidHandle
impl Clone for FluidHandle
source§fn clone(&self) -> FluidHandle
fn clone(&self) -> FluidHandle
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 FluidHandle
impl Debug for FluidHandle
source§impl From<Index> for FluidHandle
impl From<Index> for FluidHandle
source§fn from(i: ContiguousArenaIndex) -> Self
fn from(i: ContiguousArenaIndex) -> Self
Converts to this type from the input type.
source§impl Hash for FluidHandle
impl Hash for FluidHandle
source§impl Into<Index> for FluidHandle
impl Into<Index> for FluidHandle
source§fn into(self) -> ContiguousArenaIndex
fn into(self) -> ContiguousArenaIndex
Converts this type into the (usually inferred) input type.
source§impl PartialEq for FluidHandle
impl PartialEq for FluidHandle
source§fn eq(&self, other: &FluidHandle) -> bool
fn eq(&self, other: &FluidHandle) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for FluidHandle
impl Eq for FluidHandle
impl StructuralPartialEq for FluidHandle
Auto Trait Implementations§
impl RefUnwindSafe for FluidHandle
impl Send for FluidHandle
impl Sync for FluidHandle
impl Unpin for FluidHandle
impl UnwindSafe for FluidHandle
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
§impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
§fn to_subset(&self) -> Option<SS>
fn to_subset(&self) -> Option<SS>
The inverse inclusion map: attempts to construct
self
from the equivalent element of its
superset. Read more§fn is_in_subset(&self) -> bool
fn is_in_subset(&self) -> bool
Checks if
self
is actually part of its subset T
(and can be converted to it).§fn to_subset_unchecked(&self) -> SS
fn to_subset_unchecked(&self) -> SS
Use with care! Same as
self.to_subset
but without any property checks. Always succeeds.§fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
The inclusion map: converts
self
to the equivalent element of its superset.