1 2 3 4 5 6 7 8 9 10
/// An identifier for a notification. #[derive(Debug, Clone, Copy, PartialEq, Eq, Hash)] pub struct NotificationId(u32); impl NotificationId { #[inline] pub(crate) fn new(id: u32) -> Self { Self(id) } }