pub struct SourceCanvas {
pub id: String,
pub bounds: Rect,
pub tile_count: u64,
pub attached: bool,
}Expand description
What the session needs to know about the canvas it frames.
Fields§
§id: String§bounds: Rect§tile_count: u64§attached: boolAttached to another canvas (a fragment shown inside it): not framed on its own.
Trait Implementations§
Source§impl Clone for SourceCanvas
impl Clone for SourceCanvas
Source§impl Debug for SourceCanvas
impl Debug for SourceCanvas
Source§impl PartialEq for SourceCanvas
impl PartialEq for SourceCanvas
impl StructuralPartialEq for SourceCanvas
Auto Trait Implementations§
impl Freeze for SourceCanvas
impl RefUnwindSafe for SourceCanvas
impl Send for SourceCanvas
impl Sync for SourceCanvas
impl Unpin for SourceCanvas
impl UnsafeUnpin for SourceCanvas
impl UnwindSafe for SourceCanvas
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more