pub fn has_render(&self) -> bool {
        #[cfg(target_os = "linux")]
        {
            node_path(self, NodeType::Render).is_ok()
        }

        // TODO: More robust checks on non-linux.
        #[cfg(target_os = "freebsd")]
        {
            false
        }

        #[cfg(not(any(target_os = "linux", target_os = "freebsd")))]
        {
            false
        }
    }
/// Returns whether the DRM device has render nodes.
Returns whether the DRM device has render nodes.
Returns whether the DRM device has render nodes .
pub fn has_render(&self) -> bool {
        #[cfg(target_os = "linux")]
        {
            node_path(self, NodeType::Render).is_ok()
        }
        // TODO: More robust checks on non-linux.
        #[cfg(target_os = "freebsd")]
        {
            false
        }
        #[cfg(not(any(target_os = "linux", target_os = "freebsd")))]
        {
            false
        }
    }
pub fn has_render ( & self ) -> bool { # [ cfg ( target_os " " ) ] { node_path ( self , NodeType :: Render ) . is_ok ( ) } // TODO: More robust checks on non-linux. # [ cfg ( target_os " " ) ] { false } # [ cfg ( not ( any ( target_os " " target_os " " ) ) ) ] { false } }
Returns whether the DRM device has render nodes.
Returns whether the DRM device has render nodes .
&self
&self