Struct fuse_rust::Pattern

source ·
pub struct Pattern { /* private fields */ }
Expand description

A datatype to store the pattern’s text, its length, a mask and a hashmap against each alphabet in the text. Always use fuse.create_pattern(“search string”) to create a pattern

Examples:

Basic usage:

use fuse_rust::{ Fuse };
let fuse = Fuse::default();
let pattern = fuse.create_pattern("Hello");

Auto Trait Implementations§

Blanket Implementations§

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.