kernal-api 0.1.14

Async OS HAL, profiling, symbolization, and allocator instrumentation
1
2
3
4
5
6
7
8
9
10
11
12
13
//! macOS terminal window-icon mechanics.

use crate::platform::window_icon::{
    IconError, IconScope, IconSource, IconSupport, IconUnsupportedReason,
};

pub fn icon_support(_scope: IconScope) -> IconSupport {
    IconSupport::Unsupported(IconUnsupportedReason::MacTerminalOwnsWindow)
}

pub fn set_icon(_scope: IconScope, _source: &IconSource) -> Result<(), IconError> {
    Err(IconError::Unsupported(IconUnsupportedReason::NoBackend))
}