#[repr(C)]pub struct LineConfigAttribute {
pub attr: LineAttribute,
pub mask: u64,
}
Expand description
A configuration attribute associated with one or more of the requested lines.
Fields§
§attr: LineAttribute
The configurable attribute.
mask: u64
The lines to which the attribute applies, with each bit number corresponding
to the index into LineRequest.offsets
.
Trait Implementations§
Source§impl Clone for LineConfigAttribute
impl Clone for LineConfigAttribute
Source§fn clone(&self) -> LineConfigAttribute
fn clone(&self) -> LineConfigAttribute
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for LineConfigAttribute
impl Debug for LineConfigAttribute
Source§impl Default for LineConfigAttribute
impl Default for LineConfigAttribute
Source§fn default() -> LineConfigAttribute
fn default() -> LineConfigAttribute
Returns the “default value” for a type. Read more
Source§impl PartialEq for LineConfigAttribute
impl PartialEq for LineConfigAttribute
impl Copy for LineConfigAttribute
impl Eq for LineConfigAttribute
impl StructuralPartialEq for LineConfigAttribute
Auto Trait Implementations§
impl Freeze for LineConfigAttribute
impl RefUnwindSafe for LineConfigAttribute
impl Send for LineConfigAttribute
impl Sync for LineConfigAttribute
impl Unpin for LineConfigAttribute
impl UnwindSafe for LineConfigAttribute
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