diff --git a/docs/windows_docs/crabgrab/all.html b/docs/windows_docs/crabgrab/all.html index 216f1730..697d3fd5 100644 --- a/docs/windows_docs/crabgrab/all.html +++ b/docs/windows_docs/crabgrab/all.html @@ -1,2 +1,2 @@ -List of all items in this crate +List of all items in this crate

List of all items

Structs

Enums

Traits

Functions

\ No newline at end of file diff --git a/docs/windows_docs/crabgrab/capturable_content/enum.CapturableContentError.html b/docs/windows_docs/crabgrab/capturable_content/enum.CapturableContentError.html index cf3ee4ab..a624d62b 100644 --- a/docs/windows_docs/crabgrab/capturable_content/enum.CapturableContentError.html +++ b/docs/windows_docs/crabgrab/capturable_content/enum.CapturableContentError.html @@ -1,4 +1,4 @@ -CapturableContentError in crabgrab::capturable_content - Rust +CapturableContentError in crabgrab::capturable_content - Rust
pub enum CapturableContentError {
     Other(String),
 }
Expand description

Represents an error that occurred when enumerating capturable content

diff --git a/docs/windows_docs/crabgrab/capturable_content/index.html b/docs/windows_docs/crabgrab/capturable_content/index.html index 2c2841fe..8a4960a5 100644 --- a/docs/windows_docs/crabgrab/capturable_content/index.html +++ b/docs/windows_docs/crabgrab/capturable_content/index.html @@ -1,3 +1,3 @@ -crabgrab::capturable_content - Rust +crabgrab::capturable_content - Rust
Expand description

Enumeration of capturable items

Structs§

Enums§

\ No newline at end of file diff --git a/docs/windows_docs/crabgrab/capturable_content/struct.CapturableApplication.html b/docs/windows_docs/crabgrab/capturable_content/struct.CapturableApplication.html index 7b9e0eac..c8689625 100644 --- a/docs/windows_docs/crabgrab/capturable_content/struct.CapturableApplication.html +++ b/docs/windows_docs/crabgrab/capturable_content/struct.CapturableApplication.html @@ -1,4 +1,4 @@ -CapturableApplication in crabgrab::capturable_content - Rust +CapturableApplication in crabgrab::capturable_content - Rust
pub struct CapturableApplication { /* private fields */ }
Expand description

Represents an application with capturable windows

Implementations§

source§

impl CapturableApplication

source

pub fn identifier(&self) -> String

Gets the “identifier” of the application

On MacOS, this is the application bundle, and on windows, this is the application file name

diff --git a/docs/windows_docs/crabgrab/capturable_content/struct.CapturableContent.html b/docs/windows_docs/crabgrab/capturable_content/struct.CapturableContent.html index e496e237..18f9c4ff 100644 --- a/docs/windows_docs/crabgrab/capturable_content/struct.CapturableContent.html +++ b/docs/windows_docs/crabgrab/capturable_content/struct.CapturableContent.html @@ -1,4 +1,4 @@ -CapturableContent in crabgrab::capturable_content - Rust +CapturableContent in crabgrab::capturable_content - Rust
pub struct CapturableContent { /* private fields */ }
Expand description

A collection of capturable content (windows, screens)

Implementations§

source§

impl CapturableContent

source

pub async fn new( filter: CapturableContentFilter diff --git a/docs/windows_docs/crabgrab/capturable_content/struct.CapturableContentFilter.html b/docs/windows_docs/crabgrab/capturable_content/struct.CapturableContentFilter.html index 82500e32..06186895 100644 --- a/docs/windows_docs/crabgrab/capturable_content/struct.CapturableContentFilter.html +++ b/docs/windows_docs/crabgrab/capturable_content/struct.CapturableContentFilter.html @@ -1,4 +1,4 @@ -CapturableContentFilter in crabgrab::capturable_content - Rust +CapturableContentFilter in crabgrab::capturable_content - Rust
pub struct CapturableContentFilter { /* private fields */ }
Expand description

Selects the kind of capturable content to enumerate

Implementations§

source§

impl CapturableContentFilter

source

pub fn new(displays: bool, windows: Option<CapturableWindowFilter>) -> Self

Create a new content filter with the given filtering options

source

pub fn is_empty(&self) -> bool

Whether this filter allows any capturable content

diff --git a/docs/windows_docs/crabgrab/capturable_content/struct.CapturableDisplay.html b/docs/windows_docs/crabgrab/capturable_content/struct.CapturableDisplay.html index 157691c1..e120c72a 100644 --- a/docs/windows_docs/crabgrab/capturable_content/struct.CapturableDisplay.html +++ b/docs/windows_docs/crabgrab/capturable_content/struct.CapturableDisplay.html @@ -1,4 +1,4 @@ -CapturableDisplay in crabgrab::capturable_content - Rust +CapturableDisplay in crabgrab::capturable_content - Rust
pub struct CapturableDisplay { /* private fields */ }
Expand description

Represents a capturable display

Implementations§

source§

impl CapturableDisplay

source

pub fn rect(&self) -> Rect

Gets the virtual screen rectangle of this display

Note: Currently on windows, this is only evaluated at the time of display enumeration

diff --git a/docs/windows_docs/crabgrab/capturable_content/struct.CapturableDisplayIterator.html b/docs/windows_docs/crabgrab/capturable_content/struct.CapturableDisplayIterator.html index ac2e4190..78027c39 100644 --- a/docs/windows_docs/crabgrab/capturable_content/struct.CapturableDisplayIterator.html +++ b/docs/windows_docs/crabgrab/capturable_content/struct.CapturableDisplayIterator.html @@ -1,4 +1,4 @@ -CapturableDisplayIterator in crabgrab::capturable_content - Rust +CapturableDisplayIterator in crabgrab::capturable_content - Rust
pub struct CapturableDisplayIterator<'content> { /* private fields */ }
Expand description

An iterator over capturable displays

Trait Implementations§

source§

impl ExactSizeIterator for CapturableDisplayIterator<'_>

source§

fn len(&self) -> usize

Returns the exact remaining length of the iterator. Read more
source§

fn is_empty(&self) -> bool

🔬This is a nightly-only experimental API. (exact_size_is_empty)
Returns true if the iterator is empty. Read more
source§

impl Iterator for CapturableDisplayIterator<'_>

§

type Item = CapturableDisplay

The type of the elements being iterated over.
source§

fn next(&mut self) -> Option<Self::Item>

Advances the iterator and returns the next value. Read more
source§

fn size_hint(&self) -> (usize, Option<usize>)

Returns the bounds on the remaining length of the iterator. Read more
source§

fn next_chunk<const N: usize>( &mut self diff --git a/docs/windows_docs/crabgrab/capturable_content/struct.CapturableWindow.html b/docs/windows_docs/crabgrab/capturable_content/struct.CapturableWindow.html index 5379559f..6e3abfeb 100644 --- a/docs/windows_docs/crabgrab/capturable_content/struct.CapturableWindow.html +++ b/docs/windows_docs/crabgrab/capturable_content/struct.CapturableWindow.html @@ -1,4 +1,4 @@ -CapturableWindow in crabgrab::capturable_content - Rust +CapturableWindow in crabgrab::capturable_content - Rust
pub struct CapturableWindow { /* private fields */ }
Expand description

Represents a capturable application window

Implementations§

source§

impl CapturableWindow

source

pub fn title(&self) -> String

Gets the title of the window

source

pub fn rect(&self) -> Rect

Gets the virtual screen rectangle of the window

diff --git a/docs/windows_docs/crabgrab/capturable_content/struct.CapturableWindowFilter.html b/docs/windows_docs/crabgrab/capturable_content/struct.CapturableWindowFilter.html index 8ec4cc93..ce27cc37 100644 --- a/docs/windows_docs/crabgrab/capturable_content/struct.CapturableWindowFilter.html +++ b/docs/windows_docs/crabgrab/capturable_content/struct.CapturableWindowFilter.html @@ -1,4 +1,4 @@ -CapturableWindowFilter in crabgrab::capturable_content - Rust +CapturableWindowFilter in crabgrab::capturable_content - Rust
pub struct CapturableWindowFilter {
     pub desktop_windows: bool,
     pub onscreen_only: bool,
diff --git a/docs/windows_docs/crabgrab/capturable_content/struct.CapturableWindowIterator.html b/docs/windows_docs/crabgrab/capturable_content/struct.CapturableWindowIterator.html
index ce96c279..7b7780ad 100644
--- a/docs/windows_docs/crabgrab/capturable_content/struct.CapturableWindowIterator.html
+++ b/docs/windows_docs/crabgrab/capturable_content/struct.CapturableWindowIterator.html
@@ -1,4 +1,4 @@
-CapturableWindowIterator in crabgrab::capturable_content - Rust
+CapturableWindowIterator in crabgrab::capturable_content - Rust
     
pub struct CapturableWindowIterator<'content> { /* private fields */ }
Expand description

An iterator over capturable windows

Trait Implementations§

source§

impl ExactSizeIterator for CapturableWindowIterator<'_>

1.0.0 · source§

fn len(&self) -> usize

Returns the exact remaining length of the iterator. Read more
source§

fn is_empty(&self) -> bool

🔬This is a nightly-only experimental API. (exact_size_is_empty)
Returns true if the iterator is empty. Read more
source§

impl Iterator for CapturableWindowIterator<'_>

§

type Item = CapturableWindow

The type of the elements being iterated over.
source§

fn next(&mut self) -> Option<Self::Item>

Advances the iterator and returns the next value. Read more
source§

fn size_hint(&self) -> (usize, Option<usize>)

Returns the bounds on the remaining length of the iterator. Read more
source§

fn next_chunk<const N: usize>( &mut self diff --git a/docs/windows_docs/crabgrab/capture_stream/enum.CaptureConfigError.html b/docs/windows_docs/crabgrab/capture_stream/enum.CaptureConfigError.html index e964159c..18fad638 100644 --- a/docs/windows_docs/crabgrab/capture_stream/enum.CaptureConfigError.html +++ b/docs/windows_docs/crabgrab/capture_stream/enum.CaptureConfigError.html @@ -1,4 +1,4 @@ -CaptureConfigError in crabgrab::capture_stream - Rust +CaptureConfigError in crabgrab::capture_stream - Rust
pub enum CaptureConfigError {
     UnsupportedPixelFormat,
     InvalidBufferCount,
diff --git a/docs/windows_docs/crabgrab/capture_stream/enum.CapturePixelFormat.html b/docs/windows_docs/crabgrab/capture_stream/enum.CapturePixelFormat.html
index 54f2938b..aca93f92 100644
--- a/docs/windows_docs/crabgrab/capture_stream/enum.CapturePixelFormat.html
+++ b/docs/windows_docs/crabgrab/capture_stream/enum.CapturePixelFormat.html
@@ -1,4 +1,4 @@
-CapturePixelFormat in crabgrab::capture_stream - Rust
+CapturePixelFormat in crabgrab::capture_stream - Rust
     
#[non_exhaustive]
pub enum CapturePixelFormat { Bgra8888, Argb2101010, diff --git a/docs/windows_docs/crabgrab/capture_stream/enum.StreamCreateError.html b/docs/windows_docs/crabgrab/capture_stream/enum.StreamCreateError.html index 43395977..7faa3cd1 100644 --- a/docs/windows_docs/crabgrab/capture_stream/enum.StreamCreateError.html +++ b/docs/windows_docs/crabgrab/capture_stream/enum.StreamCreateError.html @@ -1,4 +1,4 @@ -StreamCreateError in crabgrab::capture_stream - Rust +StreamCreateError in crabgrab::capture_stream - Rust
pub enum StreamCreateError {
     Other(String),
     UnsupportedPixelFormat,
@@ -6,7 +6,7 @@
 }
Expand description

This represents an error when creating a capture stream

Variants§

§

Other(String)

§

UnsupportedPixelFormat

The supplied pixel format is unsupported by the implementation

§

UnauthorizedFeature(String)

Requested features are not authorized

-

Trait Implementations§

source§

impl Clone for StreamCreateError

source§

fn clone(&self) -> StreamCreateError

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 StreamCreateError

source§

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

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

impl Display for StreamCreateError

source§

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

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

impl Error for StreamCreateError

source§

fn source(&self) -> Option<&(dyn Error + 'static)>

The lower-level source of this error, if any. Read more
source§

fn description(&self) -> &str

👎Deprecated since 1.42.0: use the Display impl or to_string()
source§

fn cause(&self) -> Option<&dyn Error>

👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
source§

fn provide<'a>(&'a self, request: &mut Request<'a>)

🔬This is a nightly-only experimental API. (error_generic_member_access)
Provides type based access to context intended for error reports. Read more
source§

impl Send for StreamCreateError

source§

impl Sync for StreamCreateError

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where +

Trait Implementations§

source§

impl Clone for StreamCreateError

source§

fn clone(&self) -> StreamCreateError

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 StreamCreateError

source§

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

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

impl Display for StreamCreateError

source§

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

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

impl Error for StreamCreateError

source§

fn source(&self) -> Option<&(dyn Error + 'static)>

The lower-level source of this error, if any. Read more
source§

fn description(&self) -> &str

👎Deprecated since 1.42.0: use the Display impl or to_string()
source§

fn cause(&self) -> Option<&dyn Error>

👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
source§

fn provide<'a>(&'a self, request: &mut Request<'a>)

🔬This is a nightly-only experimental API. (error_generic_member_access)
Provides type based access to context intended for error reports. Read more
source§

impl Send for StreamCreateError

source§

impl Sync for StreamCreateError

Auto Trait Implementations§

Blanket Implementations§

source§

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

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

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

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where 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/docs/windows_docs/crabgrab/capture_stream/enum.StreamError.html b/docs/windows_docs/crabgrab/capture_stream/enum.StreamError.html index 83639ca6..58e8c5a4 100644 --- a/docs/windows_docs/crabgrab/capture_stream/enum.StreamError.html +++ b/docs/windows_docs/crabgrab/capture_stream/enum.StreamError.html @@ -1,8 +1,8 @@ -StreamError in crabgrab::capture_stream - Rust +StreamError in crabgrab::capture_stream - Rust
pub enum StreamError {
     Other(String),
 }
Expand description

This represents an error during a stream, for example a failure to retrieve a video or audio frame

-

Variants§

§

Other(String)

Trait Implementations§

source§

impl Clone for StreamError

source§

fn clone(&self) -> StreamError

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 StreamError

source§

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

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

impl Display for StreamError

source§

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

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

impl Error for StreamError

source§

fn source(&self) -> Option<&(dyn Error + 'static)>

The lower-level source of this error, if any. Read more
source§

fn description(&self) -> &str

👎Deprecated since 1.42.0: use the Display impl or to_string()
source§

fn cause(&self) -> Option<&dyn Error>

👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
source§

fn provide<'a>(&'a self, request: &mut Request<'a>)

🔬This is a nightly-only experimental API. (error_generic_member_access)
Provides type based access to context intended for error reports. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where +

Variants§

§

Other(String)

Trait Implementations§

source§

impl Clone for StreamError

source§

fn clone(&self) -> StreamError

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 StreamError

source§

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

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

impl Display for StreamError

source§

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

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

impl Error for StreamError

source§

fn source(&self) -> Option<&(dyn Error + 'static)>

The lower-level source of this error, if any. Read more
source§

fn description(&self) -> &str

👎Deprecated since 1.42.0: use the Display impl or to_string()
source§

fn cause(&self) -> Option<&dyn Error>

👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
source§

fn provide<'a>(&'a self, request: &mut Request<'a>)

🔬This is a nightly-only experimental API. (error_generic_member_access)
Provides type based access to context intended for error reports. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

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

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

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

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where 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/docs/windows_docs/crabgrab/capture_stream/enum.StreamEvent.html b/docs/windows_docs/crabgrab/capture_stream/enum.StreamEvent.html index dd2552d4..5b5297cd 100644 --- a/docs/windows_docs/crabgrab/capture_stream/enum.StreamEvent.html +++ b/docs/windows_docs/crabgrab/capture_stream/enum.StreamEvent.html @@ -1,4 +1,4 @@ -StreamEvent in crabgrab::capture_stream - Rust +StreamEvent in crabgrab::capture_stream - Rust
pub enum StreamEvent {
     Audio(AudioFrame),
     Video(VideoFrame),
diff --git a/docs/windows_docs/crabgrab/capture_stream/enum.StreamStopError.html b/docs/windows_docs/crabgrab/capture_stream/enum.StreamStopError.html
index 1be53d7e..db54bfe2 100644
--- a/docs/windows_docs/crabgrab/capture_stream/enum.StreamStopError.html
+++ b/docs/windows_docs/crabgrab/capture_stream/enum.StreamStopError.html
@@ -1,4 +1,4 @@
-StreamStopError in crabgrab::capture_stream - Rust
+StreamStopError in crabgrab::capture_stream - Rust
     
pub enum StreamStopError {
     Other(String),
     AlreadyStopped,
diff --git a/docs/windows_docs/crabgrab/capture_stream/index.html b/docs/windows_docs/crabgrab/capture_stream/index.html
index c774b648..a19f58a5 100644
--- a/docs/windows_docs/crabgrab/capture_stream/index.html
+++ b/docs/windows_docs/crabgrab/capture_stream/index.html
@@ -1,3 +1,3 @@
-crabgrab::capture_stream - Rust
+crabgrab::capture_stream - Rust
     
Expand description

The actual capture stream and related constructs

Structs§

Enums§

\ No newline at end of file diff --git a/docs/windows_docs/crabgrab/capture_stream/struct.AudioCaptureConfig.html b/docs/windows_docs/crabgrab/capture_stream/struct.AudioCaptureConfig.html index 9d84cb18..2a4dce94 100644 --- a/docs/windows_docs/crabgrab/capture_stream/struct.AudioCaptureConfig.html +++ b/docs/windows_docs/crabgrab/capture_stream/struct.AudioCaptureConfig.html @@ -1,4 +1,4 @@ -AudioCaptureConfig in crabgrab::capture_stream - Rust +AudioCaptureConfig in crabgrab::capture_stream - Rust
pub struct AudioCaptureConfig { /* private fields */ }
Expand description

Configuration settings for audio streams

Implementations§

source§

impl AudioCaptureConfig

source

pub fn new() -> Self

Creates a new audio capture config with default settings:

    diff --git a/docs/windows_docs/crabgrab/capture_stream/struct.CaptureAccessToken.html b/docs/windows_docs/crabgrab/capture_stream/struct.CaptureAccessToken.html index 79dafccc..18cf9c4b 100644 --- a/docs/windows_docs/crabgrab/capture_stream/struct.CaptureAccessToken.html +++ b/docs/windows_docs/crabgrab/capture_stream/struct.CaptureAccessToken.html @@ -1,4 +1,4 @@ -CaptureAccessToken in crabgrab::capture_stream - Rust +CaptureAccessToken in crabgrab::capture_stream - Rust
    pub struct CaptureAccessToken { /* private fields */ }
    Expand description

    Represents programmatic capture access

    Implementations§

    Trait Implementations§

    source§

    impl Clone for CaptureAccessToken

    source§

    fn clone(&self) -> CaptureAccessToken

    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 CaptureAccessToken

    source§

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

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

    impl Copy for CaptureAccessToken

    source§

    impl Send for CaptureAccessToken

    source§

    impl Sync for CaptureAccessToken

    Auto Trait Implementations§

    Blanket Implementations§

    source§

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

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where diff --git a/docs/windows_docs/crabgrab/capture_stream/struct.CaptureConfig.html b/docs/windows_docs/crabgrab/capture_stream/struct.CaptureConfig.html index 78152b22..5c042f86 100644 --- a/docs/windows_docs/crabgrab/capture_stream/struct.CaptureConfig.html +++ b/docs/windows_docs/crabgrab/capture_stream/struct.CaptureConfig.html @@ -1,4 +1,4 @@ -CaptureConfig in crabgrab::capture_stream - Rust +CaptureConfig in crabgrab::capture_stream - Rust
    pub struct CaptureConfig { /* private fields */ }
    Expand description

    Configuration settings for a capture stream

    Implementations§

    source§

    impl CaptureConfig

    source

    pub fn with_window( window: CapturableWindow, diff --git a/docs/windows_docs/crabgrab/capture_stream/struct.CaptureStream.html b/docs/windows_docs/crabgrab/capture_stream/struct.CaptureStream.html index 034c27c1..43c40894 100644 --- a/docs/windows_docs/crabgrab/capture_stream/struct.CaptureStream.html +++ b/docs/windows_docs/crabgrab/capture_stream/struct.CaptureStream.html @@ -1,4 +1,4 @@ -CaptureStream in crabgrab::capture_stream - Rust +CaptureStream in crabgrab::capture_stream - Rust
    pub struct CaptureStream { /* private fields */ }
    Expand description

    Represents an active capture stream

    Implementations§

    source§

    impl CaptureStream

    source

    pub fn test_access(borderless: bool) -> Option<CaptureAccessToken>

    Test whether the calling application has permission to capture content

    source

    pub async fn request_access(borderless: bool) -> Option<CaptureAccessToken>

    Prompt the user for permission to capture content

    diff --git a/docs/windows_docs/crabgrab/feature/bitmap/enum.FrameBitmap.html b/docs/windows_docs/crabgrab/feature/bitmap/enum.FrameBitmap.html index 57ff8fc0..16ba10c0 100644 --- a/docs/windows_docs/crabgrab/feature/bitmap/enum.FrameBitmap.html +++ b/docs/windows_docs/crabgrab/feature/bitmap/enum.FrameBitmap.html @@ -1,4 +1,4 @@ -FrameBitmap in crabgrab::feature::bitmap - Rust +FrameBitmap in crabgrab::feature::bitmap - Rust
    pub enum FrameBitmap {
         BgraUnorm8x4(FrameBitmapBgraUnorm8x4),
         RgbaUnormPacked1010102(FrameBitmapRgbaUnormPacked1010102),
    diff --git a/docs/windows_docs/crabgrab/feature/bitmap/enum.VideoFrameBitmapError.html b/docs/windows_docs/crabgrab/feature/bitmap/enum.VideoFrameBitmapError.html
    index e1d340be..144fce35 100644
    --- a/docs/windows_docs/crabgrab/feature/bitmap/enum.VideoFrameBitmapError.html
    +++ b/docs/windows_docs/crabgrab/feature/bitmap/enum.VideoFrameBitmapError.html
    @@ -1,4 +1,4 @@
    -VideoFrameBitmapError in crabgrab::feature::bitmap - Rust
    +VideoFrameBitmapError in crabgrab::feature::bitmap - Rust
         
    pub enum VideoFrameBitmapError {
         Other(String),
     }
    Expand description

    Represents an error while generating a frame bitmap

    diff --git a/docs/windows_docs/crabgrab/feature/bitmap/enum.VideoRange.html b/docs/windows_docs/crabgrab/feature/bitmap/enum.VideoRange.html index b68898d8..62bcd09e 100644 --- a/docs/windows_docs/crabgrab/feature/bitmap/enum.VideoRange.html +++ b/docs/windows_docs/crabgrab/feature/bitmap/enum.VideoRange.html @@ -1,4 +1,4 @@ -VideoRange in crabgrab::feature::bitmap - Rust +VideoRange in crabgrab::feature::bitmap - Rust
    pub enum VideoRange {
         Video,
         Full,
    diff --git a/docs/windows_docs/crabgrab/feature/bitmap/index.html b/docs/windows_docs/crabgrab/feature/bitmap/index.html
    index 27974108..fef3c54d 100644
    --- a/docs/windows_docs/crabgrab/feature/bitmap/index.html
    +++ b/docs/windows_docs/crabgrab/feature/bitmap/index.html
    @@ -1,4 +1,4 @@
    -crabgrab::feature::bitmap - Rust
    +crabgrab::feature::bitmap - Rust
         

    Module crabgrab::feature::bitmap

    source ·
    Expand description

    Frame to Bitmap conversion (requires bitmap feature)

    Structs§

    Enums§

    Traits§

    \ No newline at end of file diff --git a/docs/windows_docs/crabgrab/feature/bitmap/struct.FrameBitmapBgraUnorm8x4.html b/docs/windows_docs/crabgrab/feature/bitmap/struct.FrameBitmapBgraUnorm8x4.html index b02d1ccf..5b0fdfe8 100644 --- a/docs/windows_docs/crabgrab/feature/bitmap/struct.FrameBitmapBgraUnorm8x4.html +++ b/docs/windows_docs/crabgrab/feature/bitmap/struct.FrameBitmapBgraUnorm8x4.html @@ -1,4 +1,4 @@ -FrameBitmapBgraUnorm8x4 in crabgrab::feature::bitmap - Rust +FrameBitmapBgraUnorm8x4 in crabgrab::feature::bitmap - Rust
    pub struct FrameBitmapBgraUnorm8x4 {
         pub data: Box<[[u8; 4]]>,
         pub width: usize,
    diff --git a/docs/windows_docs/crabgrab/feature/bitmap/struct.FrameBitmapRgbaF16x4.html b/docs/windows_docs/crabgrab/feature/bitmap/struct.FrameBitmapRgbaF16x4.html
    index 72b23a55..1c868cce 100644
    --- a/docs/windows_docs/crabgrab/feature/bitmap/struct.FrameBitmapRgbaF16x4.html
    +++ b/docs/windows_docs/crabgrab/feature/bitmap/struct.FrameBitmapRgbaF16x4.html
    @@ -1,4 +1,4 @@
    -FrameBitmapRgbaF16x4 in crabgrab::feature::bitmap - Rust
    +FrameBitmapRgbaF16x4 in crabgrab::feature::bitmap - Rust
         
    pub struct FrameBitmapRgbaF16x4 {
         pub data: Box<[[f16; 4]]>,
         pub width: usize,
    diff --git a/docs/windows_docs/crabgrab/feature/bitmap/struct.FrameBitmapRgbaUnormPacked1010102.html b/docs/windows_docs/crabgrab/feature/bitmap/struct.FrameBitmapRgbaUnormPacked1010102.html
    index f81f5bd4..7f75f1c4 100644
    --- a/docs/windows_docs/crabgrab/feature/bitmap/struct.FrameBitmapRgbaUnormPacked1010102.html
    +++ b/docs/windows_docs/crabgrab/feature/bitmap/struct.FrameBitmapRgbaUnormPacked1010102.html
    @@ -1,4 +1,4 @@
    -FrameBitmapRgbaUnormPacked1010102 in crabgrab::feature::bitmap - Rust
    +FrameBitmapRgbaUnormPacked1010102 in crabgrab::feature::bitmap - Rust
         
    pub struct FrameBitmapRgbaUnormPacked1010102 {
         pub data: Box<[u32]>,
         pub width: usize,
    diff --git a/docs/windows_docs/crabgrab/feature/bitmap/struct.FrameBitmapYCbCr.html b/docs/windows_docs/crabgrab/feature/bitmap/struct.FrameBitmapYCbCr.html
    index 29f9476d..b0c51870 100644
    --- a/docs/windows_docs/crabgrab/feature/bitmap/struct.FrameBitmapYCbCr.html
    +++ b/docs/windows_docs/crabgrab/feature/bitmap/struct.FrameBitmapYCbCr.html
    @@ -1,4 +1,4 @@
    -FrameBitmapYCbCr in crabgrab::feature::bitmap - Rust
    +FrameBitmapYCbCr in crabgrab::feature::bitmap - Rust
         
    pub struct FrameBitmapYCbCr {
         pub luma_data: Box<[u8]>,
         pub luma_width: usize,
    diff --git a/docs/windows_docs/crabgrab/feature/bitmap/trait.VideoFrameBitmap.html b/docs/windows_docs/crabgrab/feature/bitmap/trait.VideoFrameBitmap.html
    index d4c651bb..03f328a7 100644
    --- a/docs/windows_docs/crabgrab/feature/bitmap/trait.VideoFrameBitmap.html
    +++ b/docs/windows_docs/crabgrab/feature/bitmap/trait.VideoFrameBitmap.html
    @@ -1,4 +1,4 @@
    -VideoFrameBitmap in crabgrab::feature::bitmap - Rust
    +VideoFrameBitmap in crabgrab::feature::bitmap - Rust
         
    pub trait VideoFrameBitmap {
         // Required method
         fn get_bitmap(&self) -> Result<FrameBitmap, VideoFrameBitmapError>;
    diff --git a/docs/windows_docs/crabgrab/feature/dx11/enum.WindowsDx11VideoFrameError.html b/docs/windows_docs/crabgrab/feature/dx11/enum.WindowsDx11VideoFrameError.html
    index 5ee0b705..13625ca3 100644
    --- a/docs/windows_docs/crabgrab/feature/dx11/enum.WindowsDx11VideoFrameError.html
    +++ b/docs/windows_docs/crabgrab/feature/dx11/enum.WindowsDx11VideoFrameError.html
    @@ -1,7 +1,7 @@
    -WindowsDx11VideoFrameError in crabgrab::feature::dx11 - Rust
    +WindowsDx11VideoFrameError in crabgrab::feature::dx11 - Rust
         
    pub enum WindowsDx11VideoFrameError {
         Other(String),
    -}

    Variants§

    §

    Other(String)

    Trait Implementations§

    source§

    impl Clone for WindowsDx11VideoFrameError

    source§

    fn clone(&self) -> WindowsDx11VideoFrameError

    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 WindowsDx11VideoFrameError

    source§

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

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

    impl Display for WindowsDx11VideoFrameError

    source§

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

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

    impl Error for WindowsDx11VideoFrameError

    source§

    fn source(&self) -> Option<&(dyn Error + 'static)>

    The lower-level source of this error, if any. Read more
    source§

    fn description(&self) -> &str

    👎Deprecated since 1.42.0: use the Display impl or to_string()
    source§

    fn cause(&self) -> Option<&dyn Error>

    👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
    source§

    fn provide<'a>(&'a self, request: &mut Request<'a>)

    🔬This is a nightly-only experimental API. (error_generic_member_access)
    Provides type based access to context intended for error reports. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where +}

    Variants§

    §

    Other(String)

    Trait Implementations§

    source§

    impl Clone for WindowsDx11VideoFrameError

    source§

    fn clone(&self) -> WindowsDx11VideoFrameError

    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 WindowsDx11VideoFrameError

    source§

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

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

    impl Display for WindowsDx11VideoFrameError

    source§

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

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

    impl Error for WindowsDx11VideoFrameError

    source§

    fn source(&self) -> Option<&(dyn Error + 'static)>

    The lower-level source of this error, if any. Read more
    source§

    fn description(&self) -> &str

    👎Deprecated since 1.42.0: use the Display impl or to_string()
    source§

    fn cause(&self) -> Option<&dyn Error>

    👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
    source§

    fn provide<'a>(&'a self, request: &mut Request<'a>)

    🔬This is a nightly-only experimental API. (error_generic_member_access)
    Provides type based access to context intended for error reports. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    source§

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

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

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

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where 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/docs/windows_docs/crabgrab/feature/dx11/index.html b/docs/windows_docs/crabgrab/feature/dx11/index.html index 6bebe34c..321e5cbd 100644 --- a/docs/windows_docs/crabgrab/feature/dx11/index.html +++ b/docs/windows_docs/crabgrab/feature/dx11/index.html @@ -1,4 +1,4 @@ -crabgrab::feature::dx11 - Rust +crabgrab::feature::dx11 - Rust

    Module crabgrab::feature::dx11

    source ·
    Expand description

    Frame -> DX11 Surface/Texture conversion (requires dx11 feature)

    Enums§

    Traits§

    \ No newline at end of file diff --git a/docs/windows_docs/crabgrab/feature/dx11/trait.WindowsDx11CaptureStream.html b/docs/windows_docs/crabgrab/feature/dx11/trait.WindowsDx11CaptureStream.html index 444b214b..36fbf361 100644 --- a/docs/windows_docs/crabgrab/feature/dx11/trait.WindowsDx11CaptureStream.html +++ b/docs/windows_docs/crabgrab/feature/dx11/trait.WindowsDx11CaptureStream.html @@ -1,4 +1,4 @@ -WindowsDx11CaptureStream in crabgrab::feature::dx11 - Rust +WindowsDx11CaptureStream in crabgrab::feature::dx11 - Rust
    pub trait WindowsDx11CaptureStream {
         // Required method
         fn get_dx11_device(&self) -> ID3D11Device;
    diff --git a/docs/windows_docs/crabgrab/feature/dx11/trait.WindowsDx11VideoFrame.html b/docs/windows_docs/crabgrab/feature/dx11/trait.WindowsDx11VideoFrame.html
    index a5c171af..46d9be81 100644
    --- a/docs/windows_docs/crabgrab/feature/dx11/trait.WindowsDx11VideoFrame.html
    +++ b/docs/windows_docs/crabgrab/feature/dx11/trait.WindowsDx11VideoFrame.html
    @@ -1,4 +1,4 @@
    -WindowsDx11VideoFrame in crabgrab::feature::dx11 - Rust
    +WindowsDx11VideoFrame in crabgrab::feature::dx11 - Rust
         
    pub trait WindowsDx11VideoFrame {
         // Required methods
         fn get_dx11_surface(
    diff --git a/docs/windows_docs/crabgrab/feature/dxgi/enum.WindowsDxgiCaptureStreamError.html b/docs/windows_docs/crabgrab/feature/dxgi/enum.WindowsDxgiCaptureStreamError.html
    index f7de7d78..013f6143 100644
    --- a/docs/windows_docs/crabgrab/feature/dxgi/enum.WindowsDxgiCaptureStreamError.html
    +++ b/docs/windows_docs/crabgrab/feature/dxgi/enum.WindowsDxgiCaptureStreamError.html
    @@ -1,7 +1,7 @@
    -WindowsDxgiCaptureStreamError in crabgrab::feature::dxgi - Rust
    +WindowsDxgiCaptureStreamError in crabgrab::feature::dxgi - Rust
         
    pub enum WindowsDxgiCaptureStreamError {
         NoAdapter(String),
    -}

    Variants§

    §

    NoAdapter(String)

    Trait Implementations§

    source§

    impl Debug for WindowsDxgiCaptureStreamError

    source§

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

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

    impl Display for WindowsDxgiCaptureStreamError

    source§

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

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

    impl Error for WindowsDxgiCaptureStreamError

    source§

    fn source(&self) -> Option<&(dyn Error + 'static)>

    The lower-level source of this error, if any. Read more
    source§

    fn description(&self) -> &str

    👎Deprecated since 1.42.0: use the Display impl or to_string()
    source§

    fn cause(&self) -> Option<&dyn Error>

    👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
    source§

    fn provide<'a>(&'a self, request: &mut Request<'a>)

    🔬This is a nightly-only experimental API. (error_generic_member_access)
    Provides type based access to context intended for error reports. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where +}

    Variants§

    §

    NoAdapter(String)

    Trait Implementations§

    source§

    impl Debug for WindowsDxgiCaptureStreamError

    source§

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

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

    impl Display for WindowsDxgiCaptureStreamError

    source§

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

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

    impl Error for WindowsDxgiCaptureStreamError

    source§

    fn source(&self) -> Option<&(dyn Error + 'static)>

    The lower-level source of this error, if any. Read more
    source§

    fn description(&self) -> &str

    👎Deprecated since 1.42.0: use the Display impl or to_string()
    source§

    fn cause(&self) -> Option<&dyn Error>

    👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
    source§

    fn provide<'a>(&'a self, request: &mut Request<'a>)

    🔬This is a nightly-only experimental API. (error_generic_member_access)
    Provides type based access to context intended for error reports. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    source§

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

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

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

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where 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/docs/windows_docs/crabgrab/feature/dxgi/enum.WindowsDxgiVideoFrameError.html b/docs/windows_docs/crabgrab/feature/dxgi/enum.WindowsDxgiVideoFrameError.html index 70b31602..abf7ad0c 100644 --- a/docs/windows_docs/crabgrab/feature/dxgi/enum.WindowsDxgiVideoFrameError.html +++ b/docs/windows_docs/crabgrab/feature/dxgi/enum.WindowsDxgiVideoFrameError.html @@ -1,4 +1,4 @@ -WindowsDxgiVideoFrameError in crabgrab::feature::dxgi - Rust +WindowsDxgiVideoFrameError in crabgrab::feature::dxgi - Rust
    pub enum WindowsDxgiVideoFrameError {
         Other(String),
     }

    Variants§

    §

    Other(String)

    Trait Implementations§

    source§

    impl Clone for WindowsDxgiVideoFrameError

    source§

    fn clone(&self) -> WindowsDxgiVideoFrameError

    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 WindowsDxgiVideoFrameError

    source§

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

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

    impl Display for WindowsDxgiVideoFrameError

    source§

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

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

    impl Error for WindowsDxgiVideoFrameError

    source§

    fn source(&self) -> Option<&(dyn Error + 'static)>

    The lower-level source of this error, if any. Read more
    source§

    fn description(&self) -> &str

    👎Deprecated since 1.42.0: use the Display impl or to_string()
    source§

    fn cause(&self) -> Option<&dyn Error>

    👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
    source§

    fn provide<'a>(&'a self, request: &mut Request<'a>)

    🔬This is a nightly-only experimental API. (error_generic_member_access)
    Provides type based access to context intended for error reports. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where diff --git a/docs/windows_docs/crabgrab/feature/dxgi/index.html b/docs/windows_docs/crabgrab/feature/dxgi/index.html index b2d47798..3b44158f 100644 --- a/docs/windows_docs/crabgrab/feature/dxgi/index.html +++ b/docs/windows_docs/crabgrab/feature/dxgi/index.html @@ -1,4 +1,4 @@ -crabgrab::feature::dxgi - Rust +crabgrab::feature::dxgi - Rust

    Module crabgrab::feature::dxgi

    source ·
    Expand description

    Frame -> DXGI Surface conversion (requires dxgi feature)

    Enums§

    Traits§

    \ No newline at end of file diff --git a/docs/windows_docs/crabgrab/feature/dxgi/trait.WindowsDxgiCaptureStream.html b/docs/windows_docs/crabgrab/feature/dxgi/trait.WindowsDxgiCaptureStream.html index 8326330b..c4aea858 100644 --- a/docs/windows_docs/crabgrab/feature/dxgi/trait.WindowsDxgiCaptureStream.html +++ b/docs/windows_docs/crabgrab/feature/dxgi/trait.WindowsDxgiCaptureStream.html @@ -1,4 +1,4 @@ -WindowsDxgiCaptureStream in crabgrab::feature::dxgi - Rust +WindowsDxgiCaptureStream in crabgrab::feature::dxgi - Rust
    pub trait WindowsDxgiCaptureStream {
         // Required methods
         fn get_dxgi_adapter(
    diff --git a/docs/windows_docs/crabgrab/feature/dxgi/trait.WindowsDxgiVideoFrame.html b/docs/windows_docs/crabgrab/feature/dxgi/trait.WindowsDxgiVideoFrame.html
    index 5f8f2395..c1c99e7b 100644
    --- a/docs/windows_docs/crabgrab/feature/dxgi/trait.WindowsDxgiVideoFrame.html
    +++ b/docs/windows_docs/crabgrab/feature/dxgi/trait.WindowsDxgiVideoFrame.html
    @@ -1,4 +1,4 @@
    -WindowsDxgiVideoFrame in crabgrab::feature::dxgi - Rust
    +WindowsDxgiVideoFrame in crabgrab::feature::dxgi - Rust
         
    pub trait WindowsDxgiVideoFrame {
         // Required method
         fn get_dxgi_surface(
    diff --git a/docs/windows_docs/crabgrab/feature/index.html b/docs/windows_docs/crabgrab/feature/index.html
    index b8d450c2..b36516c1 100644
    --- a/docs/windows_docs/crabgrab/feature/index.html
    +++ b/docs/windows_docs/crabgrab/feature/index.html
    @@ -1,4 +1,4 @@
    -crabgrab::feature - Rust
    +crabgrab::feature - Rust
         

    Module crabgrab::feature

    source ·
    Expand description

    Extension features

    Modules§

    • Frame to Bitmap conversion (requires bitmap feature)
    • Frame -> DX11 Surface/Texture conversion diff --git a/docs/windows_docs/crabgrab/feature/screenshot/enum.ScreenshotError.html b/docs/windows_docs/crabgrab/feature/screenshot/enum.ScreenshotError.html index f4b00c75..19c05172 100644 --- a/docs/windows_docs/crabgrab/feature/screenshot/enum.ScreenshotError.html +++ b/docs/windows_docs/crabgrab/feature/screenshot/enum.ScreenshotError.html @@ -1,4 +1,4 @@ -ScreenshotError in crabgrab::feature::screenshot - Rust +ScreenshotError in crabgrab::feature::screenshot - Rust
      pub enum ScreenshotError {
           Other(String),
       }
      Expand description

      Represents an error while taking a screenshot

      diff --git a/docs/windows_docs/crabgrab/feature/screenshot/fn.take_screenshot.html b/docs/windows_docs/crabgrab/feature/screenshot/fn.take_screenshot.html index 0af31fba..59f29878 100644 --- a/docs/windows_docs/crabgrab/feature/screenshot/fn.take_screenshot.html +++ b/docs/windows_docs/crabgrab/feature/screenshot/fn.take_screenshot.html @@ -1,4 +1,4 @@ -take_screenshot in crabgrab::feature::screenshot - Rust +take_screenshot in crabgrab::feature::screenshot - Rust
      pub async fn take_screenshot(
           token: CaptureAccessToken,
           config: CaptureConfig
      diff --git a/docs/windows_docs/crabgrab/feature/screenshot/index.html b/docs/windows_docs/crabgrab/feature/screenshot/index.html
      index dd133950..84f52200 100644
      --- a/docs/windows_docs/crabgrab/feature/screenshot/index.html
      +++ b/docs/windows_docs/crabgrab/feature/screenshot/index.html
      @@ -1,4 +1,4 @@
      -crabgrab::feature::screenshot - Rust
      +crabgrab::feature::screenshot - Rust
           
      Expand description

      Screenshot utility function (requires screenshot feature)

      Enums§

      Functions§

      • Take a screenshot of the capturable content given a configuration
      \ No newline at end of file diff --git a/docs/windows_docs/crabgrab/feature/wgpu/enum.WgpuVideoFrameError.html b/docs/windows_docs/crabgrab/feature/wgpu/enum.WgpuVideoFrameError.html index 33a002ae..98e5f4cd 100644 --- a/docs/windows_docs/crabgrab/feature/wgpu/enum.WgpuVideoFrameError.html +++ b/docs/windows_docs/crabgrab/feature/wgpu/enum.WgpuVideoFrameError.html @@ -1,4 +1,4 @@ -WgpuVideoFrameError in crabgrab::feature::wgpu - Rust +WgpuVideoFrameError in crabgrab::feature::wgpu - Rust
      pub enum WgpuVideoFrameError {
           NoBackendTexture,
           InvalidVideoPlaneTexture,
      diff --git a/docs/windows_docs/crabgrab/feature/wgpu/enum.WgpuVideoFramePlaneTexture.html b/docs/windows_docs/crabgrab/feature/wgpu/enum.WgpuVideoFramePlaneTexture.html
      index 429798a2..d4195d04 100644
      --- a/docs/windows_docs/crabgrab/feature/wgpu/enum.WgpuVideoFramePlaneTexture.html
      +++ b/docs/windows_docs/crabgrab/feature/wgpu/enum.WgpuVideoFramePlaneTexture.html
      @@ -1,4 +1,4 @@
      -WgpuVideoFramePlaneTexture in crabgrab::feature::wgpu - Rust
      +WgpuVideoFramePlaneTexture in crabgrab::feature::wgpu - Rust
           
      pub enum WgpuVideoFramePlaneTexture {
           Rgba,
           Luminance,
      diff --git a/docs/windows_docs/crabgrab/feature/wgpu/index.html b/docs/windows_docs/crabgrab/feature/wgpu/index.html
      index f5fe44e5..774014a2 100644
      --- a/docs/windows_docs/crabgrab/feature/wgpu/index.html
      +++ b/docs/windows_docs/crabgrab/feature/wgpu/index.html
      @@ -1,4 +1,4 @@
      -crabgrab::feature::wgpu - Rust
      +crabgrab::feature::wgpu - Rust
           

      Module crabgrab::feature::wgpu

      source ·
      Expand description

      Frame -> Wgpu Texture conversion (requires wgpu feature)

      Enums§

      Traits§

      \ No newline at end of file diff --git a/docs/windows_docs/crabgrab/feature/wgpu/trait.WgpuCaptureConfigExt.html b/docs/windows_docs/crabgrab/feature/wgpu/trait.WgpuCaptureConfigExt.html index 92b81d25..408d89a0 100644 --- a/docs/windows_docs/crabgrab/feature/wgpu/trait.WgpuCaptureConfigExt.html +++ b/docs/windows_docs/crabgrab/feature/wgpu/trait.WgpuCaptureConfigExt.html @@ -1,4 +1,4 @@ -WgpuCaptureConfigExt in crabgrab::feature::wgpu - Rust +WgpuCaptureConfigExt in crabgrab::feature::wgpu - Rust
      pub trait WgpuCaptureConfigExt: Sized {
           // Required method
           fn with_wgpu_device(
      diff --git a/docs/windows_docs/crabgrab/feature/wgpu/trait.WgpuCaptureStreamExt.html b/docs/windows_docs/crabgrab/feature/wgpu/trait.WgpuCaptureStreamExt.html
      index d0c8027e..4ba53150 100644
      --- a/docs/windows_docs/crabgrab/feature/wgpu/trait.WgpuCaptureStreamExt.html
      +++ b/docs/windows_docs/crabgrab/feature/wgpu/trait.WgpuCaptureStreamExt.html
      @@ -1,4 +1,4 @@
      -WgpuCaptureStreamExt in crabgrab::feature::wgpu - Rust
      +WgpuCaptureStreamExt in crabgrab::feature::wgpu - Rust
           
      pub trait WgpuCaptureStreamExt {
           // Required methods
           fn get_wgpu_device_wrapper(
      diff --git a/docs/windows_docs/crabgrab/feature/wgpu/trait.WgpuVideoFrameExt.html b/docs/windows_docs/crabgrab/feature/wgpu/trait.WgpuVideoFrameExt.html
      index 9f7a2dac..34951487 100644
      --- a/docs/windows_docs/crabgrab/feature/wgpu/trait.WgpuVideoFrameExt.html
      +++ b/docs/windows_docs/crabgrab/feature/wgpu/trait.WgpuVideoFrameExt.html
      @@ -1,4 +1,4 @@
      -WgpuVideoFrameExt in crabgrab::feature::wgpu - Rust
      +WgpuVideoFrameExt in crabgrab::feature::wgpu - Rust
           
      pub trait WgpuVideoFrameExt {
           // Required method
           fn get_wgpu_texture(
      diff --git a/docs/windows_docs/crabgrab/frame/enum.AudioBufferError.html b/docs/windows_docs/crabgrab/frame/enum.AudioBufferError.html
      index 8da605f8..39ec93fd 100644
      --- a/docs/windows_docs/crabgrab/frame/enum.AudioBufferError.html
      +++ b/docs/windows_docs/crabgrab/frame/enum.AudioBufferError.html
      @@ -1,4 +1,4 @@
      -AudioBufferError in crabgrab::frame - Rust
      +AudioBufferError in crabgrab::frame - Rust
           
      pub enum AudioBufferError {
           UnsupportedFormat,
           InvalidChannel,
      diff --git a/docs/windows_docs/crabgrab/frame/enum.AudioChannelCount.html b/docs/windows_docs/crabgrab/frame/enum.AudioChannelCount.html
      index 92bdab08..f9f38b30 100644
      --- a/docs/windows_docs/crabgrab/frame/enum.AudioChannelCount.html
      +++ b/docs/windows_docs/crabgrab/frame/enum.AudioChannelCount.html
      @@ -1,4 +1,4 @@
      -AudioChannelCount in crabgrab::frame - Rust
      +AudioChannelCount in crabgrab::frame - Rust
           
      pub enum AudioChannelCount {
           Mono,
           Stereo,
      diff --git a/docs/windows_docs/crabgrab/frame/enum.AudioChannelData.html b/docs/windows_docs/crabgrab/frame/enum.AudioChannelData.html
      index 5c3ff52e..ac208c54 100644
      --- a/docs/windows_docs/crabgrab/frame/enum.AudioChannelData.html
      +++ b/docs/windows_docs/crabgrab/frame/enum.AudioChannelData.html
      @@ -1,4 +1,4 @@
      -AudioChannelData in crabgrab::frame - Rust
      +AudioChannelData in crabgrab::frame - Rust
           
      pub enum AudioChannelData<'data> {
           F32(AudioChannelDataSamples<'data, f32>),
           I32(AudioChannelDataSamples<'data, i32>),
      diff --git a/docs/windows_docs/crabgrab/frame/enum.AudioSampleRate.html b/docs/windows_docs/crabgrab/frame/enum.AudioSampleRate.html
      index 38bf1a15..78f7cdb4 100644
      --- a/docs/windows_docs/crabgrab/frame/enum.AudioSampleRate.html
      +++ b/docs/windows_docs/crabgrab/frame/enum.AudioSampleRate.html
      @@ -1,4 +1,4 @@
      -AudioSampleRate in crabgrab::frame - Rust
      +AudioSampleRate in crabgrab::frame - Rust
           
      pub enum AudioSampleRate {
           Hz8000,
           Hz16000,
      diff --git a/docs/windows_docs/crabgrab/frame/index.html b/docs/windows_docs/crabgrab/frame/index.html
      index a48a7312..fa2c7b12 100644
      --- a/docs/windows_docs/crabgrab/frame/index.html
      +++ b/docs/windows_docs/crabgrab/frame/index.html
      @@ -1,3 +1,3 @@
      -crabgrab::frame - Rust
      +crabgrab::frame - Rust
           

      Module crabgrab::frame

      source ·
      Expand description

      Audio and video frames

      Structs§

      Enums§

      \ No newline at end of file diff --git a/docs/windows_docs/crabgrab/frame/struct.AudioChannelDataSamples.html b/docs/windows_docs/crabgrab/frame/struct.AudioChannelDataSamples.html index 6dd5d845..e212445b 100644 --- a/docs/windows_docs/crabgrab/frame/struct.AudioChannelDataSamples.html +++ b/docs/windows_docs/crabgrab/frame/struct.AudioChannelDataSamples.html @@ -1,4 +1,4 @@ -AudioChannelDataSamples in crabgrab::frame - Rust +AudioChannelDataSamples in crabgrab::frame - Rust
      pub struct AudioChannelDataSamples<'data, T> { /* private fields */ }
      Expand description

      Wraps a “slice” of audio data for one channel, handling data stride

      Implementations§

      source§

      impl<T: Copy> AudioChannelDataSamples<'_, T>

      source

      pub fn get(&self, n: usize) -> T

      Get the nth sample for this channel data

      source

      pub fn length(&self) -> usize

      Get the length of this sample buffer

      diff --git a/docs/windows_docs/crabgrab/frame/struct.AudioFrame.html b/docs/windows_docs/crabgrab/frame/struct.AudioFrame.html index 685f6f82..f2bc89e5 100644 --- a/docs/windows_docs/crabgrab/frame/struct.AudioFrame.html +++ b/docs/windows_docs/crabgrab/frame/struct.AudioFrame.html @@ -1,4 +1,4 @@ -AudioFrame in crabgrab::frame - Rust +AudioFrame in crabgrab::frame - Rust

      Struct crabgrab::frame::AudioFrame

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

      A frame of captured audio

      Implementations§

      source§

      impl AudioFrame

      source

      pub fn sample_rate(&self) -> AudioSampleRate

      Get the sample rate of the captured audio

      source

      pub fn channel_count(&self) -> AudioChannelCount

      Get the channel count of the captured audio

      diff --git a/docs/windows_docs/crabgrab/frame/struct.VideoFrame.html b/docs/windows_docs/crabgrab/frame/struct.VideoFrame.html index 6973055b..04844ba3 100644 --- a/docs/windows_docs/crabgrab/frame/struct.VideoFrame.html +++ b/docs/windows_docs/crabgrab/frame/struct.VideoFrame.html @@ -1,4 +1,4 @@ -VideoFrame in crabgrab::frame - Rust +VideoFrame in crabgrab::frame - Rust

      Struct crabgrab::frame::VideoFrame

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

      A frame of captured video

      Implementations§

      source§

      impl VideoFrame

      source

      pub fn frame_id(&self) -> u64

      Get the sequence id of this video frame (monotonically increasing)

      Note: This is separate from audio frame ids

      diff --git a/docs/windows_docs/crabgrab/index.html b/docs/windows_docs/crabgrab/index.html index 99357880..abb6e6c2 100644 --- a/docs/windows_docs/crabgrab/index.html +++ b/docs/windows_docs/crabgrab/index.html @@ -1,4 +1,4 @@ -crabgrab - Rust 306
      use std::{ffi::OsString, hash::Hash, os::{raw::c_void, windows::ffi::OsStringExt}, sync::Arc};
       
      -use windows::Win32::{Foundation::{BOOL, LPARAM, RECT, TRUE}, Graphics::Gdi::{EnumDisplayMonitors, HDC, HMONITOR}, System::{ProcessStatus::GetModuleFileNameExW, Threading::{OpenProcess, PROCESS_QUERY_INFORMATION, PROCESS_VM_READ}}, UI::WindowsAndMessaging::{EnumWindows, GetWindowDisplayAffinity, GetWindowRect, GetWindowTextA, GetWindowTextLengthA, GetWindowThreadProcessId, IsWindow, IsWindowVisible, WDA_EXCLUDEFROMCAPTURE}};
      +use windows::Win32::{Foundation::{BOOL, LPARAM, RECT, TRUE}, Graphics::Gdi::{EnumDisplayMonitors, HDC, HMONITOR}, System::{ProcessStatus::GetModuleFileNameExW, Threading::{OpenProcess, PROCESS_QUERY_INFORMATION, PROCESS_VM_READ}}, UI::WindowsAndMessaging::{EnumWindows, GetWindowDisplayAffinity, GetWindowRect, GetWindowTextA, GetWindowTextLengthA, GetWindowTextLengthW, GetWindowTextW, GetWindowThreadProcessId, IsWindow, IsWindowVisible, WDA_EXCLUDEFROMCAPTURE}};
       
       pub use windows::Win32::Foundation::HWND;
       
      @@ -334,16 +334,16 @@ 

      Files

      pub fn title(&self) -> String { unsafe { - let text_length = GetWindowTextLengthA(self.0); + let text_length = GetWindowTextLengthW(self.0); if text_length == 0 { return "".into(); } - let mut text_buffer = vec![0u8; text_length as usize + 1]; - let text_length = GetWindowTextA(self.0, &mut text_buffer[..]); + let mut text_buffer = vec![0u16; text_length as usize + 1]; + let text_length = GetWindowTextW(self.0, &mut text_buffer[..]); if (text_length as usize) < text_buffer.len() { text_buffer.truncate(text_length as usize); } - String::from_utf8_lossy(&text_buffer).to_string() + String::from_utf16_lossy(&text_buffer).to_string() } }