Enum taffy::compute::grid::types::cell_occupancy::CellOccupancyState
source · pub(crate) enum CellOccupancyState {
Unoccupied,
DefinitelyPlaced,
AutoPlaced,
}
Expand description
The occupancy state of a single grid cell
Variants§
Unoccupied
Indicates that a grid cell is unoccupied
DefinitelyPlaced
Indicates that a grid cell is occupied by a definitely placed item
AutoPlaced
Indicates that a grid cell is occupied by an item that was placed by the auto placement algorithm
Trait Implementations§
source§impl Clone for CellOccupancyState
impl Clone for CellOccupancyState
source§fn clone(&self) -> CellOccupancyState
fn clone(&self) -> CellOccupancyState
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 CellOccupancyState
impl Debug for CellOccupancyState
source§impl Default for CellOccupancyState
impl Default for CellOccupancyState
source§fn default() -> CellOccupancyState
fn default() -> CellOccupancyState
Returns the “default value” for a type. Read more
source§impl PartialEq for CellOccupancyState
impl PartialEq for CellOccupancyState
impl Copy for CellOccupancyState
impl Eq for CellOccupancyState
impl StructuralPartialEq for CellOccupancyState
Auto Trait Implementations§
impl Freeze for CellOccupancyState
impl RefUnwindSafe for CellOccupancyState
impl Send for CellOccupancyState
impl Sync for CellOccupancyState
impl Unpin for CellOccupancyState
impl UnwindSafe for CellOccupancyState
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
)