pub fn ids(&self) -> Vec<&str> {
        let mut feature_ids = Vec::new();

        if self.gl {
            feature_ids.push(feature_id::GL);
        }
        if self.egl {
            feature_ids.push(feature_id::EGL);
        }
        if self.x11 {
            feature_ids.push(feature_id::X11);
        }
        if self.wayland {
            feature_ids.push(feature_id::WAYLAND);
        }
        if self.vulkan {
            feature_ids.push(feature_id::VULKAN);
        }
        if self.metal {
            feature_ids.push(feature_id::METAL);
        }
        if self.d3d {
            feature_ids.push(feature_id::D3D);
        }
        if self.text_layout {
            feature_ids.push(feature_id::TEXTLAYOUT);
        }
        if self.webp_encode {
            feature_ids.push(feature_id::WEBPE);
        }
        if self.webp_decode {
            feature_ids.push(feature_id::WEBPD);
        }

        feature_ids
    }
/// Feature Ids used to look up prebuilt binaries.
Feature Ids used to look up prebuilt binaries.
Feature Ids used to look up prebuilt binaries .
pub fn ids(&self) -> Vec<&str> {
        let mut feature_ids = Vec::new();
        if self.gl {
            feature_ids.push(feature_id::GL);
        }
        if self.egl {
            feature_ids.push(feature_id::EGL);
        }
        if self.x11 {
            feature_ids.push(feature_id::X11);
        }
        if self.wayland {
            feature_ids.push(feature_id::WAYLAND);
        }
        if self.vulkan {
            feature_ids.push(feature_id::VULKAN);
        }
        if self.metal {
            feature_ids.push(feature_id::METAL);
        }
        if self.d3d {
            feature_ids.push(feature_id::D3D);
        }
        if self.text_layout {
            feature_ids.push(feature_id::TEXTLAYOUT);
        }
        if self.webp_encode {
            feature_ids.push(feature_id::WEBPE);
        }
        if self.webp_decode {
            feature_ids.push(feature_id::WEBPD);
        }
        feature_ids
    }
pub fn ids ( & self ) -> Vec < & str > { let mut feature_ids = Vec :: new ( ) ; if self . gl { feature_ids . push ( feature_id :: GL ) ; } if self . egl { feature_ids . push ( feature_id :: EGL ) ; } if self . x11 { feature_ids . push ( feature_id :: X11 ) ; } if self . wayland { feature_ids . push ( feature_id :: WAYLAND ) ; } if self . vulkan { feature_ids . push ( feature_id :: VULKAN ) ; } if self . metal { feature_ids . push ( feature_id :: METAL ) ; } if self . d3d { feature_ids . push ( feature_id :: D3D ) ; } if self . text_layout { feature_ids . push ( feature_id :: TEXTLAYOUT ) ; } if self . webp_encode { feature_ids . push ( feature_id :: WEBPE ) ; } if self . webp_decode { feature_ids . push ( feature_id :: WEBPD ) ; } feature_ids }
Feature Ids used to look up prebuilt binaries.
Feature Ids used to look up prebuilt binaries .
&self
&self