pub struct QByteArrayMatcher { /* private fields */ }Expand description
C++ class: QByteArrayMatcher.
Implementations§
Source§impl QByteArrayMatcher
impl QByteArrayMatcher
Sourcepub unsafe fn copy_from(
&self,
other: impl CastInto<Ref<QByteArrayMatcher>>,
) -> Ref<QByteArrayMatcher>
pub unsafe fn copy_from( &self, other: impl CastInto<Ref<QByteArrayMatcher>>, ) -> Ref<QByteArrayMatcher>
Calls C++ function: QByteArrayMatcher& QByteArrayMatcher::operator=(const QByteArrayMatcher& other).
Sourcepub unsafe fn index_in_q_byte_array_int(
&self,
ba: impl CastInto<Ref<QByteArray>>,
from: c_int,
) -> c_int
pub unsafe fn index_in_q_byte_array_int( &self, ba: impl CastInto<Ref<QByteArray>>, from: c_int, ) -> c_int
Calls C++ function: int QByteArrayMatcher::indexIn(const QByteArray& ba, int from = …) const.
Sourcepub unsafe fn index_in_char2_int(
&self,
str: *const c_char,
len: c_int,
from: c_int,
) -> c_int
pub unsafe fn index_in_char2_int( &self, str: *const c_char, len: c_int, from: c_int, ) -> c_int
Calls C++ function: int QByteArrayMatcher::indexIn(const char* str, int len, int from = …) const.
Sourcepub unsafe fn index_in_q_byte_array(
&self,
ba: impl CastInto<Ref<QByteArray>>,
) -> c_int
pub unsafe fn index_in_q_byte_array( &self, ba: impl CastInto<Ref<QByteArray>>, ) -> c_int
Calls C++ function: int QByteArrayMatcher::indexIn(const QByteArray& ba) const.
Sourcepub unsafe fn index_in_char_int(&self, str: *const c_char, len: c_int) -> c_int
pub unsafe fn index_in_char_int(&self, str: *const c_char, len: c_int) -> c_int
Calls C++ function: int QByteArrayMatcher::indexIn(const char* str, int len) const.
Sourcepub unsafe fn new_0a() -> CppBox<QByteArrayMatcher>
pub unsafe fn new_0a() -> CppBox<QByteArrayMatcher>
Calls C++ function: [constructor] void QByteArrayMatcher::QByteArrayMatcher().
Sourcepub unsafe fn new_1a(
pattern: impl CastInto<Ref<QByteArray>>,
) -> CppBox<QByteArrayMatcher>
pub unsafe fn new_1a( pattern: impl CastInto<Ref<QByteArray>>, ) -> CppBox<QByteArrayMatcher>
Calls C++ function: [constructor] void QByteArrayMatcher::QByteArrayMatcher(const QByteArray& pattern).
Sourcepub unsafe fn new_2a(
pattern: *const c_char,
length: c_int,
) -> CppBox<QByteArrayMatcher>
pub unsafe fn new_2a( pattern: *const c_char, length: c_int, ) -> CppBox<QByteArrayMatcher>
Calls C++ function: [constructor] void QByteArrayMatcher::QByteArrayMatcher(const char* pattern, int length).
Sourcepub unsafe fn new_copy(
other: impl CastInto<Ref<QByteArrayMatcher>>,
) -> CppBox<QByteArrayMatcher>
pub unsafe fn new_copy( other: impl CastInto<Ref<QByteArrayMatcher>>, ) -> CppBox<QByteArrayMatcher>
Calls C++ function: [constructor] void QByteArrayMatcher::QByteArrayMatcher(const QByteArrayMatcher& other).
Sourcepub unsafe fn pattern(&self) -> CppBox<QByteArray>
pub unsafe fn pattern(&self) -> CppBox<QByteArray>
Calls C++ function: QByteArray QByteArrayMatcher::pattern() const.
Sourcepub unsafe fn set_pattern(&self, pattern: impl CastInto<Ref<QByteArray>>)
pub unsafe fn set_pattern(&self, pattern: impl CastInto<Ref<QByteArray>>)
Calls C++ function: void QByteArrayMatcher::setPattern(const QByteArray& pattern).