Struct teensy3_sys::Stream
[−]
[src]
pub struct Stream { pub _base: Print, pub _timeout: u32, pub read_error: u8, }
Fields
_base: Print
_timeout: u32
read_error: u8
Methods
impl Stream
[src]
unsafe fn setTimeout(&mut self, timeout: u32)
unsafe fn find(&mut self, target: *mut u8) -> bool
unsafe fn find1(&mut self, target: *mut u8) -> bool
unsafe fn find2(&mut self, target: *mut u8, length: usize) -> bool
unsafe fn find3(&mut self, target: *mut u8, length: usize) -> bool
unsafe fn findUntil(&mut self, target: *mut u8, terminator: *mut u8) -> bool
unsafe fn findUntil1(&mut self, target: *mut u8, terminator: *mut u8) -> bool
unsafe fn findUntil2(&mut self, target: *mut u8, targetLen: usize, terminate: *mut u8, termLen: usize) -> bool
unsafe fn findUntil3(&mut self, target: *mut u8, targetLen: usize, terminate: *mut u8, termLen: usize) -> bool
unsafe fn parseInt(&mut self) -> i32
unsafe fn parseInt1(&mut self, skipChar: u8) -> i32
unsafe fn parseFloat(&mut self) -> f32
unsafe fn parseFloat1(&mut self, skipChar: u8) -> f32
unsafe fn readBytes(&mut self, buffer: *mut u8, length: usize) -> usize
unsafe fn readBytes1(&mut self, buffer: *mut u8, length: usize) -> usize
unsafe fn readBytesUntil(&mut self, terminator: u8, buffer: *mut u8, length: usize) -> usize
unsafe fn readBytesUntil1(&mut self, terminator: u8, buffer: *mut u8, length: usize) -> usize
unsafe fn readString(&mut self, max: usize) -> String
unsafe fn readStringUntil(&mut self, terminator: u8, max: usize) -> String
unsafe fn getReadError(&mut self) -> i32
unsafe fn clearReadError(&mut self)
unsafe fn setReadError(&mut self, err: i32)
Trait Implementations
impl Debug for Stream
[src]
impl Copy for Stream
[src]
impl Clone for Stream
[src]
fn clone(&self) -> Self
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more