Struct libfprint_rs::FpPrint
source · pub struct FpPrint<'a> { /* private fields */ }
Expand description
Struct representing a fingerprint.
Implementations§
source§impl FpPrint<'_>
impl FpPrint<'_>
pub fn new<'a>(device: &'a FpDevice<'_>) -> FpPrint<'a>
pub fn serialize(&self) -> Result<SerializedPrint<'_>, GError<'_>>
pub fn deserialize(data: &[u8]) -> Result<FpPrint<'static>, GError<'_>>
pub fn driver(&self) -> &str
pub fn device_id(&self) -> &str
pub fn device_stored(&self) -> bool
pub fn get_image(&self) -> Option<FpImage>
pub fn get_finger(&self) -> Finger
pub fn get_username(&self) -> Option<&str>
pub fn get_description(&self) -> Option<&str>
pub fn get_enroll_date()
pub fn set_finger(&self, finger: Finger)
pub fn set_username(&self, username: &str)
pub fn set_description(&self, description: &str)
pub fn set_enroll_date()
pub fn compatible(&self, device: &FpDevice<'_>) -> bool
pub fn equal(&self, other: &FpPrint<'_>) -> bool
Trait Implementations§
Auto Trait Implementations§
impl<'a> !RefUnwindSafe for FpPrint<'a>
impl<'a> !Send for FpPrint<'a>
impl<'a> !Sync for FpPrint<'a>
impl<'a> Unpin for FpPrint<'a>
impl<'a> !UnwindSafe for FpPrint<'a>
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