# Struct `kurogane::WindowId`

```rust
pub struct WindowId(/* private field */);
```

Identifier of a window, never reused while the application runs.

## Methods

### `as_u32`

```rust
pub fn as_u32(&self) -> u32
```

Returns the identifier as a number.

## Trait implementations

- `impl Clone for WindowId`
- `impl Copy for WindowId`
- `impl Debug for WindowId`
- `impl Eq for WindowId`
- `impl Hash for WindowId`
- `impl PartialEq for WindowId`

Source: https://github.com/0x48piraj/kurogane/blob/584c586118ee53cc04604007ee038557bd859092/kurogane/src/window_registry.rs#L10
