docs: rust: extend abstraction and binding documentation
authorDirk Behme <dirk.behme@de.bosch.com>
Thu, 18 Apr 2024 07:06:18 +0000 (09:06 +0200)
committerMiguel Ojeda <ojeda@kernel.org>
Sun, 5 May 2024 17:14:49 +0000 (19:14 +0200)
commitae58351a8a44fc017fed085246a08ce4ecf1acd6
tree6e5288f64f8f117cb9a01e25c7dc7e763fca2c8b
parentc8226cdb64db75d67ada0529ef7e19a2bf98e9f1
docs: rust: extend abstraction and binding documentation

Add some basics explained by Miguel in [1] to the documentation.
And connect it with some hints where this is implemented in the
kernel.

Link: https://www.linuxfoundation.org/webinars/rust-for-linux-writing-abstractions-and-drivers
Cc: Miguel Ojeda <ojeda@kernel.org>
Signed-off-by: Dirk Behme <dirk.behme@de.bosch.com>
Reviewed-by: Benno Lossin <benno.lossin@proton.me>
Link: https://lore.kernel.org/r/20240418070618.3962736-1-dirk.behme@de.bosch.com
[ Reworded first section for better clarity and some minor nits.
  Changed link into Link tag, use tabs for code block
  indentation and wrap at 80. - Miguel ]
Signed-off-by: Miguel Ojeda <ojeda@kernel.org>
Documentation/rust/general-information.rst