1//! Validatable API
23use crate::{device::DeviceIn, types::DeviceId};
45/// Trait to validate an object around a given device
6pub trait Validatable {
7/// Is this object valid for the given device?
8fn is_valid_for(&self, id: &DeviceId, device: &DeviceIn) -> bool;
9}