pub trait GetSize<C: Num> { type Error; // Required method fn size(&self) -> Result<Size<C>, Self::Error>; }
Trait for surface or texture objects that can fetch size.
Fetch the size of the object