#[non_exhaustive]pub struct BlockCell {
pub upper: String,
pub lower: String,
pub name: String,
}Expand description
A shaded cell that holds no mark. When either label is non-empty, a
diagonal from the top-left to the bottom-right corner splits it, with
upper in the top-right half and lower in the bottom-left half.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.upper: StringLabel in the top-right half; empty for none.
lower: StringLabel in the bottom-left half; empty for none.
name: StringAccessible name, such as down 4, across 6.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Forget for BlockCell
impl Freeze for BlockCell
impl RefUnwindSafe for BlockCell
impl Send for BlockCell
impl Sync for BlockCell
impl Unpin for BlockCell
impl UnsafeUnpin for BlockCell
impl UnwindSafe for BlockCell
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