pub struct SpikeEvent {
pub channel: u16,
pub timestamp: u64,
pub polarity: bool,
}Expand description
A single spike event.
Fields§
§channel: u16§timestamp: u64§polarity: boolTrait Implementations§
Source§impl Clone for SpikeEvent
impl Clone for SpikeEvent
Source§fn clone(&self) -> SpikeEvent
fn clone(&self) -> SpikeEvent
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 SpikeEvent
Source§impl Debug for SpikeEvent
impl Debug for SpikeEvent
impl Eq for SpikeEvent
Source§impl PartialEq for SpikeEvent
impl PartialEq for SpikeEvent
impl StructuralPartialEq for SpikeEvent
Auto Trait Implementations§
impl Freeze for SpikeEvent
impl RefUnwindSafe for SpikeEvent
impl Send for SpikeEvent
impl Sync for SpikeEvent
impl Unpin for SpikeEvent
impl UnsafeUnpin for SpikeEvent
impl UnwindSafe for SpikeEvent
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