Skip to main content

get_device_settings

Function get_device_settings 

pub fn get_device_settings<B>(
    device: &<B as BackendTypes>::Device,
) -> DeviceSettings
where B: Backend,
Expand description

Returns the configured settings, or backend defaults without initializing them.

Before initialization, this is a snapshot: subsequent configuration may change the settings. Use get_or_init_device_settings when the returned settings must remain fixed for subsequent operations.