[−][src]Struct breadx::auto::render::Cp
Fields
inner: u32
Implementations
impl Cp
[src]
pub fn repeat(&self) -> bool
[src]
pub fn set_repeat(&mut self, val: bool) -> &mut Self
[src]
pub fn alpha_map(&self) -> bool
[src]
pub fn set_alpha_map(&mut self, val: bool) -> &mut Self
[src]
pub fn alpha_x_origin(&self) -> bool
[src]
pub fn set_alpha_x_origin(&mut self, val: bool) -> &mut Self
[src]
pub fn alpha_y_origin(&self) -> bool
[src]
pub fn set_alpha_y_origin(&mut self, val: bool) -> &mut Self
[src]
pub fn clip_x_origin(&self) -> bool
[src]
pub fn set_clip_x_origin(&mut self, val: bool) -> &mut Self
[src]
pub fn clip_y_origin(&self) -> bool
[src]
pub fn set_clip_y_origin(&mut self, val: bool) -> &mut Self
[src]
pub fn clip_mask(&self) -> bool
[src]
pub fn set_clip_mask(&mut self, val: bool) -> &mut Self
[src]
pub fn graphics_exposure(&self) -> bool
[src]
pub fn set_graphics_exposure(&mut self, val: bool) -> &mut Self
[src]
pub fn subwindow_mode(&self) -> bool
[src]
pub fn set_subwindow_mode(&mut self, val: bool) -> &mut Self
[src]
pub fn poly_edge(&self) -> bool
[src]
pub fn set_poly_edge(&mut self, val: bool) -> &mut Self
[src]
pub fn poly_mode(&self) -> bool
[src]
pub fn set_poly_mode(&mut self, val: bool) -> &mut Self
[src]
pub fn dither(&self) -> bool
[src]
pub fn set_dither(&mut self, val: bool) -> &mut Self
[src]
pub fn component_alpha(&self) -> bool
[src]
pub fn set_component_alpha(&mut self, val: bool) -> &mut Self
[src]
pub fn new(
repeat: bool,
alpha_map: bool,
alpha_x_origin: bool,
alpha_y_origin: bool,
clip_x_origin: bool,
clip_y_origin: bool,
clip_mask: bool,
graphics_exposure: bool,
subwindow_mode: bool,
poly_edge: bool,
poly_mode: bool,
dither: bool,
component_alpha: bool
) -> Self
[src]
repeat: bool,
alpha_map: bool,
alpha_x_origin: bool,
alpha_y_origin: bool,
clip_x_origin: bool,
clip_y_origin: bool,
clip_mask: bool,
graphics_exposure: bool,
subwindow_mode: bool,
poly_edge: bool,
poly_mode: bool,
dither: bool,
component_alpha: bool
) -> Self
pub fn count_ones(&self) -> usize
[src]
Trait Implementations
impl AsByteSequence for Cp
[src]
pub fn as_bytes(&self, bytes: &mut [u8]) -> usize
[src]
pub fn from_bytes(bytes: &[u8]) -> Option<(Self, usize)>
[src]
pub fn size(&self) -> usize
[src]
pub fn file_descriptors(&mut self) -> Option<&mut Vec<Fd>>
[src]
impl BitAnd<Cp> for Cp
[src]
type Output = Cp
The resulting type after applying the &
operator.
pub fn bitand(self, rhs: Cp) -> Cp
[src]
impl Clone for Cp
[src]
impl Copy for Cp
[src]
impl Debug for Cp
[src]
impl Default for Cp
[src]
impl Eq for Cp
[src]
impl Not for Cp
[src]
impl Ord for Cp
[src]
pub fn cmp(&self, other: &Cp) -> Ordering
[src]
#[must_use]pub fn max(self, other: Self) -> Self
1.21.0[src]
#[must_use]pub fn min(self, other: Self) -> Self
1.21.0[src]
#[must_use]pub fn clamp(self, min: Self, max: Self) -> Self
1.50.0[src]
impl PartialEq<Cp> for Cp
[src]
impl PartialOrd<Cp> for Cp
[src]
pub fn partial_cmp(&self, other: &Cp) -> Option<Ordering>
[src]
pub fn lt(&self, other: &Cp) -> bool
[src]
pub fn le(&self, other: &Cp) -> bool
[src]
pub fn gt(&self, other: &Cp) -> bool
[src]
pub fn ge(&self, other: &Cp) -> bool
[src]
impl StructuralEq for Cp
[src]
impl StructuralPartialEq for Cp
[src]
Auto Trait Implementations
impl RefUnwindSafe for Cp
[src]
impl Send for Cp
[src]
impl Sync for Cp
[src]
impl Unpin for Cp
[src]
impl UnwindSafe for Cp
[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,