diff --git a/rust-whisper-lib/target/doc/rust_whisper_lib/fn.main.html b/rust-whisper-lib/target/doc/rust_whisper_lib/fn.main.html index 0221cc0..eee7db7 100644 --- a/rust-whisper-lib/target/doc/rust_whisper_lib/fn.main.html +++ b/rust-whisper-lib/target/doc/rust_whisper_lib/fn.main.html @@ -1,2 +1,2 @@ -main in rust_whisper_lib - Rust

Function rust_whisper_lib::main

source ·
pub fn main<F>(flags: Flags, handler_fn: F)where
+main in rust_whisper_lib - Rust

Function rust_whisper_lib::main

source ·
pub fn main<F>(flags: Flags, handler_fn: F)where
     F: FnMut(Result<Whispered, String>) + Send + 'static,
\ 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
pub struct AWhispered {
+AWhispered in rust_whisper_lib - Rust
pub struct AWhispered {
     pub data: String,
     pub offset: i64,
     pub length: i64,
-}

Fields§

§data: String§offset: i64§length: i64

Trait Implementations§

source§

impl Clone for AWhispered

source§

fn clone(&self) -> AWhispered

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for AWhispered

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere +}

Fields§

§data: String§offset: i64§length: i64

Trait Implementations§

source§

impl Clone for AWhispered

source§

fn clone(&self) -> AWhispered

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for AWhispered

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

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: bool

Trait Implementations§

source§

impl Args for Flags

source§

fn group_id() -> Option<Id>

Report the ArgGroup::id for this set of arguments
source§

fn augment_args<'b>(__clap_app: Command) -> Command

Append to Command so it can instantiate Self. Read more
source§

fn augment_args_for_update<'b>(__clap_app: Command) -> Command

Append to Command so it can update self. Read more
source§

impl CommandFactory for Flags

source§

fn command<'b>() -> Command

Build a Command that can instantiate Self. Read more
source§

fn command_for_update<'b>() -> Command

Build a Command that can update self. Read more
source§

impl Debug for Flags

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl FromArgMatches for Flags

source§

fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>

Instantiate Self from ArgMatches, parsing the arguments as needed. Read more
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: bool

Trait Implementations§

source§

impl Args for Flags

source§

fn group_id() -> Option<Id>

Report the ArgGroup::id for this set of arguments
source§

fn augment_args<'b>(__clap_app: Command) -> Command

Append to Command so it can instantiate Self. Read more
source§

fn augment_args_for_update<'b>(__clap_app: Command) -> Command

Append to Command so it can update self. Read more
source§

impl CommandFactory for Flags

source§

fn command<'b>() -> Command

Build a Command that can instantiate Self. Read more
source§

fn command_for_update<'b>() -> Command

Build a Command that can update self. Read more
source§

impl Debug for Flags

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl FromArgMatches for Flags

source§

fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>

Instantiate Self from ArgMatches, parsing the arguments as needed. Read more
source§

fn from_arg_matches_mut( __clap_arg_matches: &mut ArgMatches ) -> Result<Self, Error>

Instantiate Self from ArgMatches, parsing the arguments as needed. Read more
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
pub struct Whispered {
+Whispered in rust_whisper_lib - Rust
pub struct Whispered {
     pub data: Vec<AWhispered>,
-}

Fields§

§data: Vec<AWhispered>

Implementations§

Trait Implementations§

source§

impl Clone for Whispered

source§

fn clone(&self) -> Whispered

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for Whispered

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere +}

Fields§

§data: Vec<AWhispered>

Implementations§

Trait Implementations§

source§

impl Clone for Whispered

source§

fn clone(&self) -> Whispered

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for Whispered

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.