pub struct BaseFormat(pub SurfaceType, pub ChannelType);
Expand description
Generic run-time base format.
Tuple Fields§
§0: SurfaceType
§1: ChannelType
Trait Implementations§
Source§impl Clone for BaseFormat
impl Clone for BaseFormat
Source§fn clone(&self) -> BaseFormat
fn clone(&self) -> BaseFormat
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for BaseFormat
impl Debug for BaseFormat
Source§impl Hash for BaseFormat
impl Hash for BaseFormat
Source§impl Ord for BaseFormat
impl Ord for BaseFormat
Source§fn cmp(&self, other: &BaseFormat) -> Ordering
fn cmp(&self, other: &BaseFormat) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for BaseFormat
impl PartialEq for BaseFormat
Source§impl PartialOrd for BaseFormat
impl PartialOrd for BaseFormat
impl Copy for BaseFormat
impl Eq for BaseFormat
impl StructuralPartialEq for BaseFormat
Auto Trait Implementations§
impl Freeze for BaseFormat
impl RefUnwindSafe for BaseFormat
impl Send for BaseFormat
impl Sync for BaseFormat
impl Unpin for BaseFormat
impl UnwindSafe for BaseFormat
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