pub enum AvailableSpaceKey {
Definite(u32),
MinContent,
MaxContent,
}Expand description
Key for available space constraints in layout cache.
Variants§
Trait Implementations§
Source§impl Clone for AvailableSpaceKey
impl Clone for AvailableSpaceKey
impl Copy for AvailableSpaceKey
Source§impl Debug for AvailableSpaceKey
impl Debug for AvailableSpaceKey
impl Eq for AvailableSpaceKey
Source§impl From<AvailableSpace> for AvailableSpaceKey
impl From<AvailableSpace> for AvailableSpaceKey
Source§fn from(space: AvailableSpace) -> Self
fn from(space: AvailableSpace) -> Self
Converts to this type from the input type.
Source§impl Hash for AvailableSpaceKey
impl Hash for AvailableSpaceKey
Source§impl PartialEq for AvailableSpaceKey
impl PartialEq for AvailableSpaceKey
impl StructuralPartialEq for AvailableSpaceKey
Auto Trait Implementations§
impl Forget for AvailableSpaceKey
impl Freeze for AvailableSpaceKey
impl Move for AvailableSpaceKey
impl RefUnwindSafe for AvailableSpaceKey
impl Send for AvailableSpaceKey
impl Sync for AvailableSpaceKey
impl Unpin for AvailableSpaceKey
impl UnsafeUnpin for AvailableSpaceKey
impl UnwindSafe for AvailableSpaceKey
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