fn output_devices(&self) -> Result<OutputDevices<Self::Devices>, DevicesError> {
        fn supports_output<D: DeviceTrait>(device: &D) -> bool {
            device
                .supported_output_configs()
                .map(|mut iter| iter.next().is_some())
                .unwrap_or(false)
        }
        Ok(self.devices()?.filter(supports_output::<Self::Device>))
    }
/// An iterator yielding all `Device`s currently available to the system that support one or more
/// output stream formats.
///
/// Can be empty if the system does not support audio output.
An iterator yielding all `Device`s currently available to the system that support one or more
output stream formats.

Can be empty if the system does not support audio output.
An iterator yielding all ` Device ` s currently available to the system that support one or more output stream formats . Can be empty if the system does not support audio output .
fn output_devices(&self) -> Result<OutputDevices<Self::Devices>, DevicesError> {
        fn supports_output<D: DeviceTrait>(device: &D) -> bool {
            device
                .supported_output_configs()
                .map(|mut iter| iter.next().is_some())
                .unwrap_or(false)
        }
        Ok(self.devices()?.filter(supports_output::<Self::Device>))
    }
fn output_devices ( & self ) -> Result < OutputDevices < Self :: Devices > , DevicesError > { fn supports_output < D : DeviceTrait > ( device : & D ) -> bool { device . supported_output_configs ( ) . map ( | mut iter | iter . next ( ) . is_some ( ) ) . unwrap_or ( false ) } Ok ( self . devices ( ) ? . filter ( supports_output :: < Self :: Device > ) ) }
An iterator yielding all `Device`s currently available to the system that support one or more
output stream formats.
An iterator yielding all ` Device ` s currently available to the system that support one or more output stream formats .
&self
&self