pub struct BankCollision {
pub front: FrameBuffer,
pub back: FrameBuffer,
pub bank: u8,
}Expand description
Error returned by Scanout::try_new when front and back would
land in the same SDRAM bank — a configuration that causes refresh /
scan-line contention on the STM32H747I-DISCO module.
Fields§
§front: FrameBufferThe front framebuffer the caller supplied.
back: FrameBufferThe back framebuffer the caller supplied.
bank: u8The common bank index both buffers resolved to.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for BankCollision
impl RefUnwindSafe for BankCollision
impl Send for BankCollision
impl Sync for BankCollision
impl Unpin for BankCollision
impl UnsafeUnpin for BankCollision
impl UnwindSafe for BankCollision
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