Struct mipidsi::dcs::SetAddressMode
source · pub struct SetAddressMode(/* private fields */);
Expand description
Set Address Mode
Implementations§
source§impl SetAddressMode
impl SetAddressMode
sourcepub const fn new(
color_order: ColorOrder,
orientation: Orientation,
refresh_order: RefreshOrder
) -> Self
pub const fn new( color_order: ColorOrder, orientation: Orientation, refresh_order: RefreshOrder ) -> Self
Creates a new Set Address Mode command.
sourcepub const fn with_color_order(self, color_order: ColorOrder) -> Self
pub const fn with_color_order(self, color_order: ColorOrder) -> Self
Returns this Madctl with ColorOrder set to new value
sourcepub const fn with_orientation(self, orientation: Orientation) -> Self
pub const fn with_orientation(self, orientation: Orientation) -> Self
Returns this Madctl with Orientation set to new value
sourcepub const fn with_refresh_order(self, refresh_order: RefreshOrder) -> Self
pub const fn with_refresh_order(self, refresh_order: RefreshOrder) -> Self
Returns this Madctl with RefreshOrder set to new value
Trait Implementations§
source§impl Clone for SetAddressMode
impl Clone for SetAddressMode
source§fn clone(&self) -> SetAddressMode
fn clone(&self) -> SetAddressMode
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 DcsCommand for SetAddressMode
impl DcsCommand for SetAddressMode
source§impl Debug for SetAddressMode
impl Debug for SetAddressMode
source§impl Default for SetAddressMode
impl Default for SetAddressMode
source§fn default() -> SetAddressMode
fn default() -> SetAddressMode
Returns the “default value” for a type. Read more
source§impl From<&ModelOptions> for SetAddressMode
impl From<&ModelOptions> for SetAddressMode
source§fn from(options: &ModelOptions) -> Self
fn from(options: &ModelOptions) -> Self
Converts to this type from the input type.
source§impl PartialEq for SetAddressMode
impl PartialEq for SetAddressMode
source§fn eq(&self, other: &SetAddressMode) -> bool
fn eq(&self, other: &SetAddressMode) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for SetAddressMode
impl Eq for SetAddressMode
impl StructuralPartialEq for SetAddressMode
Auto Trait Implementations§
impl Freeze for SetAddressMode
impl RefUnwindSafe for SetAddressMode
impl Send for SetAddressMode
impl Sync for SetAddressMode
impl Unpin for SetAddressMode
impl UnwindSafe for SetAddressMode
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> CheckedAs for T
impl<T> CheckedAs for T
source§fn checked_as<Dst>(self) -> Option<Dst>where
T: CheckedCast<Dst>,
fn checked_as<Dst>(self) -> Option<Dst>where
T: CheckedCast<Dst>,
Casts the value.
source§impl<Src, Dst> CheckedCastFrom<Src> for Dstwhere
Src: CheckedCast<Dst>,
impl<Src, Dst> CheckedCastFrom<Src> for Dstwhere
Src: CheckedCast<Dst>,
source§fn checked_cast_from(src: Src) -> Option<Dst>
fn checked_cast_from(src: Src) -> Option<Dst>
Casts the value.
source§impl<T> OverflowingAs for T
impl<T> OverflowingAs for T
source§fn overflowing_as<Dst>(self) -> (Dst, bool)where
T: OverflowingCast<Dst>,
fn overflowing_as<Dst>(self) -> (Dst, bool)where
T: OverflowingCast<Dst>,
Casts the value.
source§impl<Src, Dst> OverflowingCastFrom<Src> for Dstwhere
Src: OverflowingCast<Dst>,
impl<Src, Dst> OverflowingCastFrom<Src> for Dstwhere
Src: OverflowingCast<Dst>,
source§fn overflowing_cast_from(src: Src) -> (Dst, bool)
fn overflowing_cast_from(src: Src) -> (Dst, bool)
Casts the value.
source§impl<T> SaturatingAs for T
impl<T> SaturatingAs for T
source§fn saturating_as<Dst>(self) -> Dstwhere
T: SaturatingCast<Dst>,
fn saturating_as<Dst>(self) -> Dstwhere
T: SaturatingCast<Dst>,
Casts the value.
source§impl<Src, Dst> SaturatingCastFrom<Src> for Dstwhere
Src: SaturatingCast<Dst>,
impl<Src, Dst> SaturatingCastFrom<Src> for Dstwhere
Src: SaturatingCast<Dst>,
source§fn saturating_cast_from(src: Src) -> Dst
fn saturating_cast_from(src: Src) -> Dst
Casts the value.
source§impl<T> UnwrappedAs for T
impl<T> UnwrappedAs for T
source§fn unwrapped_as<Dst>(self) -> Dstwhere
T: UnwrappedCast<Dst>,
fn unwrapped_as<Dst>(self) -> Dstwhere
T: UnwrappedCast<Dst>,
Casts the value.
source§impl<Src, Dst> UnwrappedCastFrom<Src> for Dstwhere
Src: UnwrappedCast<Dst>,
impl<Src, Dst> UnwrappedCastFrom<Src> for Dstwhere
Src: UnwrappedCast<Dst>,
source§fn unwrapped_cast_from(src: Src) -> Dst
fn unwrapped_cast_from(src: Src) -> Dst
Casts the value.
source§impl<T> WrappingAs for T
impl<T> WrappingAs for T
source§fn wrapping_as<Dst>(self) -> Dstwhere
T: WrappingCast<Dst>,
fn wrapping_as<Dst>(self) -> Dstwhere
T: WrappingCast<Dst>,
Casts the value.
source§impl<Src, Dst> WrappingCastFrom<Src> for Dstwhere
Src: WrappingCast<Dst>,
impl<Src, Dst> WrappingCastFrom<Src> for Dstwhere
Src: WrappingCast<Dst>,
source§fn wrapping_cast_from(src: Src) -> Dst
fn wrapping_cast_from(src: Src) -> Dst
Casts the value.