Struct xcb::render::Pictforminfo
source · pub struct Pictforminfo { /* private fields */ }
Implementations§
source§impl Pictforminfo
impl Pictforminfo
sourcepub fn new(
id: Pictformat,
type: PictType,
depth: u8,
direct: Directformat,
colormap: Colormap,
) -> Pictforminfo
pub fn new( id: Pictformat, type: PictType, depth: u8, direct: Directformat, colormap: Colormap, ) -> Pictforminfo
Construct a new Pictforminfo.
pub fn id(&self) -> Pictformat
pub fn type(&self) -> PictType
pub fn depth(&self) -> u8
pub fn direct(&self) -> Directformat
pub fn colormap(&self) -> Colormap
Trait Implementations§
source§impl Clone for Pictforminfo
impl Clone for Pictforminfo
source§fn clone(&self) -> Pictforminfo
fn clone(&self) -> Pictforminfo
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 Pictforminfo
impl Debug for Pictforminfo
impl Copy for Pictforminfo
Auto Trait Implementations§
impl Freeze for Pictforminfo
impl RefUnwindSafe for Pictforminfo
impl Send for Pictforminfo
impl Sync for Pictforminfo
impl Unpin for Pictforminfo
impl UnwindSafe for Pictforminfo
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)