Struct BlockRenderVisibilityEvent
pub struct BlockRenderVisibilityEvent {
pub state: BlockState,
pub hidden: bool,
}Expand description
What BlockPart::block_render_visibility is told. Each field is that hook’s argument of the same name, described in the hook’s doc.
Fields§
§state: BlockStateTrait Implementations§
Auto Trait Implementations§
impl Freeze for BlockRenderVisibilityEvent
impl RefUnwindSafe for BlockRenderVisibilityEvent
impl Send for BlockRenderVisibilityEvent
impl Sync for BlockRenderVisibilityEvent
impl Unpin for BlockRenderVisibilityEvent
impl UnsafeUnpin for BlockRenderVisibilityEvent
impl UnwindSafe for BlockRenderVisibilityEvent
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