#[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: LineAttributeThe configurable attribute.
mask: u64The 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 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for LineConfigAttribute
Source§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
impl Eq for LineConfigAttribute
Source§impl PartialEq for LineConfigAttribute
impl PartialEq for LineConfigAttribute
Source§fn eq(&self, other: &LineConfigAttribute) -> bool
fn eq(&self, other: &LineConfigAttribute) -> bool
Tests for
self and other values to be equal, and is used by ==.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 UnsafeUnpin 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