Struct x11rb::protocol::render::Pictdepth [−][src]
pub struct Pictdepth {
pub depth: u8,
pub visuals: Vec<Pictvisual>,
}
Fields
depth: u8
visuals: Vec<Pictvisual>
Implementations
Get the value of the num_visuals
field.
The num_visuals
field is used as the length field of the visuals
field.
This function computes the field’s value again based on the length of the list.
Panics
Panics if the value cannot be represented in the target type. This cannot happen with values of the struct received from the X11 server.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Pictdepth
impl UnwindSafe for Pictdepth
Blanket Implementations
Mutably borrows from an owned value. Read more