pub fn rm(dev: &Device, id: Id<Fb>) -> io::Result<()> {
        #[derive(Debug)]
        struct RmFb(Id<Fb>);
        impl DrmIoctl for RmFb {
            fn request() -> c_ulong { DRM_IOCTL_MODE_RMFB }
        }
        dev.ioctl(&mut RmFb(id))
    }
/// Remove the frame buffer from DRM.
///
/// This will not happen automatically as the `Fb` object is not a
/// real representation of the Frame buffer, but a struct
/// containing metadata about it.
///
/// TODO: It might be a good idea to create a real RAII type for Fb.
Remove the frame buffer from DRM.
This will not happen automatically as the `Fb` object is not a
real representation of the Frame buffer, but a struct
containing metadata about it.

It might be a good idea to create a real RAII type for Fb.
Remove the frame buffer from DRM . This will not happen automatically as the ` Fb ` object is not a real representation of the Frame buffer but a struct containing metadata about it . It might be a good idea to create a real RAII type for Fb .
pub fn rm(dev: &Device, id: Id<Fb>) -> io::Result<()> {
        #[derive(Debug)]
        struct RmFb(Id<Fb>);
        impl DrmIoctl for RmFb {
            fn request() -> c_ulong { DRM_IOCTL_MODE_RMFB }
        }
        dev.ioctl(&mut RmFb(id))
    }
pub fn rm ( dev : & Device , id : Id < Fb > ) -> io :: Result < ( ) > { # [ derive ( Debug ) ] struct RmFb ( Id < Fb > ) ; impl DrmIoctl for RmFb { fn request ( ) -> c_ulong { DRM_IOCTL_MODE_RMFB } } dev . ioctl ( & mut RmFb ( id ) ) }
Remove the frame buffer from DRM.
Remove the frame buffer from DRM .
dev
&Device
id
Id<Fb>