pub enum NodeType {
Primary,
Control,
Render,
}
Expand description
A type of node
Variants§
Primary
A primary node may be used to allocate buffers.
If no other node is present, this may be used to post a buffer to an output with mode-setting.
Control
A control node may be used for mode-setting.
This is almost never used since no DRM API for control nodes is available yet.
Render
A render node may be used by a client to allocate buffers.
Mode-setting is not possible with a render node.
Implementations§
Trait Implementations§
impl Copy for NodeType
impl Eq for NodeType
impl StructuralPartialEq for NodeType
Auto Trait Implementations§
impl Freeze for NodeType
impl RefUnwindSafe for NodeType
impl Send for NodeType
impl Sync for NodeType
impl Unpin for NodeType
impl UnwindSafe for NodeType
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