pub struct PortDebugInfo {
pub name: String,
pub direction: String,
pub port_type: String,
pub binding: u32,
pub format: Option<String>,
pub is_connected: bool,
}Expand description
Debug information for a port
Fields§
§name: StringPort name
direction: StringPort direction (input/output)
port_type: StringPort type (texture, storage, etc.)
binding: u32Binding slot
format: Option<String>Format (for storage textures)
is_connected: boolWhether the port is connected
Trait Implementations§
Source§impl Clone for PortDebugInfo
impl Clone for PortDebugInfo
Source§fn clone(&self) -> PortDebugInfo
fn clone(&self) -> PortDebugInfo
Returns a duplicate 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 moreAuto Trait Implementations§
impl Freeze for PortDebugInfo
impl RefUnwindSafe for PortDebugInfo
impl Send for PortDebugInfo
impl Sync for PortDebugInfo
impl Unpin for PortDebugInfo
impl UnwindSafe for PortDebugInfo
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