pub struct AttrInfo {
pub config: AttrConfig,
pub mode: AttrMode,
pub data_kind: AttrDataKind,
pub data_format: AttrDataFormat,
pub display_level: DisplayLevel,
pub memorized: Option<AttrMemorized>,
}Expand description
An extension to AttrConfig with static information about the attribute.
Fields§
§config: AttrConfigThe configuration of the attribute, which is the whole of what a client is allowed
to change of it, see AttrConfig. Everything else here is what the attribute is,
which the device declares and nothing outside of it ever changes.
mode: AttrModeThe attribute mode.
data_kind: AttrDataKindThe data kind to be expected.
data_format: AttrDataFormatThe data format to be expected, along with the maximum dimensions the attribute is declared with for the formats that have any.
display_level: DisplayLevelThe display level of the attribute.
memorized: Option<AttrMemorized>The memorized mode, absent for an attribute that remembers nothing.
Trait Implementations§
impl StructuralPartialEq for AttrInfo
Auto Trait Implementations§
impl Freeze for AttrInfo
impl RefUnwindSafe for AttrInfo
impl Send for AttrInfo
impl Sync for AttrInfo
impl Unpin for AttrInfo
impl UnsafeUnpin for AttrInfo
impl UnwindSafe for AttrInfo
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more