Function rust_whisper_lib::main
source · pub fn main<F>(flags: Flags, handler_fn: F)where
+main in rust_whisper_lib - Rust
\ No newline at end of file
diff --git a/rust-whisper-lib/target/doc/rust_whisper_lib/index.html b/rust-whisper-lib/target/doc/rust_whisper_lib/index.html
index f59a926..9015392 100644
--- a/rust-whisper-lib/target/doc/rust_whisper_lib/index.html
+++ b/rust-whisper-lib/target/doc/rust_whisper_lib/index.html
@@ -1 +1 @@
-rust_whisper_lib - Rust
\ No newline at end of file
+rust_whisper_lib - Rust
\ No newline at end of file
diff --git a/rust-whisper-lib/target/doc/rust_whisper_lib/struct.AWhispered.html b/rust-whisper-lib/target/doc/rust_whisper_lib/struct.AWhispered.html
index 39a6f0b..5946088 100644
--- a/rust-whisper-lib/target/doc/rust_whisper_lib/struct.AWhispered.html
+++ b/rust-whisper-lib/target/doc/rust_whisper_lib/struct.AWhispered.html
@@ -1,8 +1,8 @@
-AWhispered in rust_whisper_lib - Rust Struct rust_whisper_lib::AWhispered
source · pub struct AWhispered {
+AWhispered in rust_whisper_lib - Rust Struct rust_whisper_lib::AWhispered
source · pub struct AWhispered {
pub data: String,
pub offset: i64,
pub length: i64,
-}
Fields§
§data: String§offset: i64§length: i64Trait Implementations§
source§impl Clone for AWhispered
source§fn clone(&self) -> AWhispered
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read moreAuto Trait Implementations§
§impl RefUnwindSafe for AWhispered
§impl Send for AWhispered
§impl Sync for AWhispered
§impl Unpin for AWhispered
§impl UnwindSafe for AWhispered
Blanket Implementations§
source§impl<T> Any for Twhere
+}Fields§
§data: String§offset: i64§length: i64Trait Implementations§
source§impl Clone for AWhispered
source§fn clone(&self) -> AWhispered
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read moreAuto Trait Implementations§
§impl RefUnwindSafe for AWhispered
§impl Send for AWhispered
§impl Sync for AWhispered
§impl Unpin for AWhispered
§impl UnwindSafe for AWhispered
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read moresource§impl<T> From<T> for T
source§fn from(t: T) -> T
Returns the argument unchanged.
diff --git a/rust-whisper-lib/target/doc/rust_whisper_lib/struct.Flags.html b/rust-whisper-lib/target/doc/rust_whisper_lib/struct.Flags.html
index d53ca2e..e0578c6 100644
--- a/rust-whisper-lib/target/doc/rust_whisper_lib/struct.Flags.html
+++ b/rust-whisper-lib/target/doc/rust_whisper_lib/struct.Flags.html
@@ -1,5 +1,6 @@
-Flags in rust_whisper_lib - Rust Struct rust_whisper_lib::Flags
source · pub struct Flags {
- pub model: String,
+Flags in rust_whisper_lib - Rust Struct rust_whisper_lib::Flags
source · pub struct Flags {
+ pub model_path: Option<String>,
+ pub model_buffer: Option<Vec<u8>>,
pub threads: i32,
pub stream_step: u64,
pub stream_retain: f32,
@@ -7,7 +8,7 @@
pub stream_tail: f32,
pub wav: Option<String>,
pub debug: bool,
-}
Fields§
§model: String§threads: i32§stream_step: u64§stream_retain: f32§stream_head: f32§stream_tail: f32§wav: Option<String>§debug: boolTrait Implementations§
source§impl CommandFactory for Flags
source§impl FromArgMatches for Flags
source§fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
source§fn from_arg_matches_mut(
+}Fields§
§model_path: Option<String>§model_buffer: Option<Vec<u8>>§threads: i32§stream_step: u64§stream_retain: f32§stream_head: f32§stream_tail: f32§wav: Option<String>§debug: boolTrait Implementations§
source§impl CommandFactory for Flags
source§impl FromArgMatches for Flags
source§fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
source§fn from_arg_matches_mut(
__clap_arg_matches: &mut ArgMatches
) -> Result<Self, Error>
source§fn update_from_arg_matches(
&mut self,
diff --git a/rust-whisper-lib/target/doc/rust_whisper_lib/struct.Whispered.html b/rust-whisper-lib/target/doc/rust_whisper_lib/struct.Whispered.html
index 6241c70..af82960 100644
--- a/rust-whisper-lib/target/doc/rust_whisper_lib/struct.Whispered.html
+++ b/rust-whisper-lib/target/doc/rust_whisper_lib/struct.Whispered.html
@@ -1,6 +1,6 @@
-Whispered in rust_whisper_lib - Rust Struct rust_whisper_lib::Whispered
source · pub struct Whispered {
+Whispered in rust_whisper_lib - Rust Struct rust_whisper_lib::Whispered
source · pub struct Whispered {
pub data: Vec<AWhispered>,
-}
Fields§
§data: Vec<AWhispered>Implementations§
Trait Implementations§
Auto Trait Implementations§
§impl RefUnwindSafe for Whispered
§impl Send for Whispered
§impl Sync for Whispered
§impl Unpin for Whispered
§impl UnwindSafe for Whispered
Blanket Implementations§
source§impl<T> Any for Twhere
+}Fields§
§data: Vec<AWhispered>Implementations§
Trait Implementations§
Auto Trait Implementations§
§impl RefUnwindSafe for Whispered
§impl Send for Whispered
§impl Sync for Whispered
§impl Unpin for Whispered
§impl UnwindSafe for Whispered
Blanket Implementations§