mirror of
https://github.com/dnaka91/obws
synced 2024-11-13 19:12:03 +00:00
Fix new clippy error about camel case naming
This commit is contained in:
parent
d74cd63244
commit
33c5fe945a
@ -189,7 +189,7 @@ impl<'a> Sources<'a> {
|
||||
source: &str,
|
||||
) -> Result<responses::TextGdiPlusProperties> {
|
||||
self.client
|
||||
.send_message(RequestType::GetTextGDIPlusProperties { source })
|
||||
.send_message(RequestType::GetTextGdiPlusProperties { source })
|
||||
.await
|
||||
}
|
||||
|
||||
@ -199,7 +199,7 @@ impl<'a> Sources<'a> {
|
||||
properties: TextGdiPlusProperties<'_>,
|
||||
) -> Result<()> {
|
||||
self.client
|
||||
.send_message(RequestType::SetTextGDIPlusProperties(Box::new(properties)))
|
||||
.send_message(RequestType::SetTextGdiPlusProperties(Box::new(properties)))
|
||||
.await
|
||||
}
|
||||
|
||||
|
@ -185,11 +185,13 @@ pub(crate) enum RequestType<'a> {
|
||||
source_type: Option<&'a str>,
|
||||
},
|
||||
SetSourceSettings(SourceSettings<'a>),
|
||||
GetTextGDIPlusProperties {
|
||||
#[serde(rename = "GetTextGDIPlusProperties")]
|
||||
GetTextGdiPlusProperties {
|
||||
/// Source name.
|
||||
source: &'a str,
|
||||
},
|
||||
SetTextGDIPlusProperties(Box<TextGdiPlusProperties<'a>>),
|
||||
#[serde(rename = "SetTextGDIPlusProperties")]
|
||||
SetTextGdiPlusProperties(Box<TextGdiPlusProperties<'a>>),
|
||||
GetTextFreetype2Properties {
|
||||
/// Source name.
|
||||
source: &'a str,
|
||||
|
Loading…
Reference in New Issue
Block a user