[−][src]Struct plotters::drawing::bitmap_pixel::RGBPixel
The marker type that indicates we are currently using a RGB888 pixel format
Trait Implementations
impl PixelFormat for RGBPixel
[src]
const PIXEL_SIZE: usize
[src]
const EFFECTIVE_PIXEL_SIZE: usize
[src]
fn byte_at(r: u8, g: u8, b: u8, _a: u64, idx: usize) -> u8
[src]
fn decode_pixel(data: &[u8]) -> (u8, u8, u8, u64)
[src]
fn can_be_saved() -> bool
[src]
fn blend_rect_fast(
target: &mut BitMapBackend<Self>,
upper_left: (i32, i32),
bottom_right: (i32, i32),
r: u8,
g: u8,
b: u8,
a: f64
)
[src]
target: &mut BitMapBackend<Self>,
upper_left: (i32, i32),
bottom_right: (i32, i32),
r: u8,
g: u8,
b: u8,
a: f64
)
fn fill_rect_fast(
target: &mut BitMapBackend<Self>,
upper_left: (i32, i32),
bottom_right: (i32, i32),
r: u8,
g: u8,
b: u8
)
[src]
target: &mut BitMapBackend<Self>,
upper_left: (i32, i32),
bottom_right: (i32, i32),
r: u8,
g: u8,
b: u8
)
fn fill_vertical_line_fast(
target: &mut BitMapBackend<Self>,
x: i32,
ys: (i32, i32),
r: u8,
g: u8,
b: u8
)
[src]
target: &mut BitMapBackend<Self>,
x: i32,
ys: (i32, i32),
r: u8,
g: u8,
b: u8
)
fn draw_pixel(
target: &mut BitMapBackend<Self>,
point: (i32, i32),
(r, g, b): (u8, u8, u8),
alpha: f64
)
[src]
target: &mut BitMapBackend<Self>,
point: (i32, i32),
(r, g, b): (u8, u8, u8),
alpha: f64
)
Auto Trait Implementations
impl Send for RGBPixel
impl Unpin for RGBPixel
impl Sync for RGBPixel
impl UnwindSafe for RGBPixel
impl RefUnwindSafe for RGBPixel
Blanket Implementations
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From<T> for 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.
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>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> SetParameter for T
fn set<T>(&mut self, value: T) -> <T as Parameter<Self>>::Result where
T: Parameter<Self>,
T: Parameter<Self>,
impl<S, D, Swp, Dwp, T> AdaptInto<D, Swp, Dwp, T> for S where
D: AdaptFrom<S, Swp, Dwp, T>,
Dwp: WhitePoint,
Swp: WhitePoint,
T: Component + Float,
[src]
D: AdaptFrom<S, Swp, Dwp, T>,
Dwp: WhitePoint,
Swp: WhitePoint,
T: Component + Float,
fn adapt_into_using<M>(self, method: M) -> D where
M: TransformMatrix<Swp, Dwp, T>,
[src]
M: TransformMatrix<Swp, Dwp, T>,
fn adapt_into(self) -> D
[src]
impl<T, U> ConvertInto<U> for T where
U: ConvertFrom<T>,
[src]
U: ConvertFrom<T>,