[][src]Struct kas::layout::FixedGridStorage

pub struct FixedGridStorage<WR: Clone, HR: Clone, W: Clone, H: Clone> { /* fields omitted */ }

Fixed-length grid storage

Argument types:

  • WR is expected to be [SizeRules; cols + 1]
  • HR is expected to be [SizeRules; rows + 1]
  • W is expected to be [u32; cols] or Vec<u32>
  • H is expected to be [u32; rows] or Vec<u32>

Trait Implementations

impl<WR: Clone, HR: Clone, W: Clone, H: Clone> Clone for FixedGridStorage<WR, HR, W, H>[src]

impl<WR: Debug + Clone, HR: Debug + Clone, W: Debug + Clone, H: Debug + Clone> Debug for FixedGridStorage<WR, HR, W, H>[src]

impl<WR: Default + Clone, HR: Default + Clone, W: Default + Clone, H: Default + Clone> Default for FixedGridStorage<WR, HR, W, H>[src]

impl<WR, HR, W, H> GridStorage for FixedGridStorage<WR, HR, W, H> where
    WR: Clone + AsRef<[SizeRules]> + AsMut<[SizeRules]>,
    HR: Clone + AsRef<[SizeRules]> + AsMut<[SizeRules]>,
    W: Clone + AsRef<[u32]> + AsMut<[u32]>,
    H: Clone + AsRef<[u32]> + AsMut<[u32]>, 
[src]

impl<WR: Clone, HR: Clone, W: Clone, H: Clone> Storage for FixedGridStorage<WR, HR, W, H>[src]

Auto Trait Implementations

impl<WR, HR, W, H> RefUnwindSafe for FixedGridStorage<WR, HR, W, H> where
    H: RefUnwindSafe,
    HR: RefUnwindSafe,
    W: RefUnwindSafe,
    WR: RefUnwindSafe

impl<WR, HR, W, H> Send for FixedGridStorage<WR, HR, W, H> where
    H: Send,
    HR: Send,
    W: Send,
    WR: Send

impl<WR, HR, W, H> Sync for FixedGridStorage<WR, HR, W, H> where
    H: Sync,
    HR: Sync,
    W: Sync,
    WR: Sync

impl<WR, HR, W, H> Unpin for FixedGridStorage<WR, HR, W, H> where
    H: Unpin,
    HR: Unpin,
    W: Unpin,
    WR: Unpin

impl<WR, HR, W, H> UnwindSafe for FixedGridStorage<WR, HR, W, H> where
    H: UnwindSafe,
    HR: UnwindSafe,
    W: UnwindSafe,
    WR: UnwindSafe

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.