pub struct ViewCore {
pub bounds: Rect,
pub state: StateFlags,
pub options: Options,
pub grow_mode: GrowFlags,
pub palette_chain: Option<PaletteChainNode>,
}Expand description
The fields Borland declares once in TView and every subclass inherits.
Each view owns exactly one of these and hands it back from View::core().
Fields§
§bounds: Rect§state: StateFlags§options: Options§grow_mode: GrowFlags§palette_chain: Option<PaletteChainNode>Implementations§
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for ViewCore
impl !Send for ViewCore
impl !Sync for ViewCore
impl !UnwindSafe for ViewCore
impl Freeze for ViewCore
impl Unpin for ViewCore
impl UnsafeUnpin for ViewCore
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