Struct x11rb::protocol::render::Pictvisual
source · pub struct Pictvisual {
pub visual: u32,
pub format: u32,
}
Fields§
§visual: u32
§format: u32
Trait Implementations§
source§impl Clone for Pictvisual
impl Clone for Pictvisual
source§fn clone(&self) -> Pictvisual
fn clone(&self) -> Pictvisual
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 Pictvisual
impl Debug for Pictvisual
source§impl Default for Pictvisual
impl Default for Pictvisual
source§fn default() -> Pictvisual
fn default() -> Pictvisual
Returns the “default value” for a type. Read more
source§impl Serialize for Pictvisual
impl Serialize for Pictvisual
source§impl TryParse for Pictvisual
impl TryParse for Pictvisual
source§fn try_parse(remaining: &[u8]) -> Result<(Pictvisual, &[u8]), ParseError>
fn try_parse(remaining: &[u8]) -> Result<(Pictvisual, &[u8]), ParseError>
Try to parse the given values into an instance of this type. Read more
impl Copy for Pictvisual
Auto Trait Implementations§
impl Freeze for Pictvisual
impl RefUnwindSafe for Pictvisual
impl Send for Pictvisual
impl Sync for Pictvisual
impl Unpin for Pictvisual
impl UnwindSafe for Pictvisual
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> TryParseFd for Twhere
T: TryParse,
impl<T> TryParseFd for Twhere
T: TryParse,
source§fn try_parse_fd<'a>(
value: &'a [u8],
_: &mut Vec<OwnedFd>,
) -> Result<(T, &'a [u8]), ParseError>
fn try_parse_fd<'a>( value: &'a [u8], _: &mut Vec<OwnedFd>, ) -> Result<(T, &'a [u8]), ParseError>
Try to parse the given values into an instance of this type. Read more